You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it is not supported inside .css.erb files then please tell me how are we suppose to use the themes specific assets like images inside the theme specific css files
I tired to do this by as mentioned in the below code
The above code gives me undefined method current_theme_image_path
But If I try to use normal rails asset_path instead of current_theme_image_path then asset_path expands to /assets/contactus.jpg, which is not where my contactus.jpg is,
The actual image file is in /app/assets/themes/theme-name/images/contactus.jpg
Please help me. Is there anything wrong in my understanding.
Point me to the right way of including theme specific images in theme specific css files.
Hi,
I am getting undefined method
theme_image_path' for and undefined method
current_theme_image_path' forWhen I used them inside .css.erb files
What could be the problem here?
The text was updated successfully, but these errors were encountered: