Hello friends
I am calling css file from following folder
“<%= stylesheet_path(”#{RAILS_ROOT}/public/themes/style.css") %>"
And getting the following error any idea?
ActionController::RoutingError (No route matches
“/home/user/test/testapp/public/themes/style.css” with {:method=>:get}):
Regards
Abhi
Abhishek shukla wrote:
Hello friends
I am calling css file from following folder
“<%= stylesheet_path(”#{RAILS_ROOT}/public/themes/style.css") %>"
And getting the following error any idea?
ActionController::RoutingError (No route matches
“/home/user/test/testapp/public/themes/style.css” with {:method=>:get}):
Regards
Abhi
Is this code in between your head tags? Can’t you use:
<%= stylesheet_link_tag “style” %>
How can i call a stylesheet other then from /public/stylesheets/
folder…
Abhishek shukla wrote:
How can i call a stylesheet other then from /public/stylesheets/
folder…
<%= stylesheet_link_tag “/themes/style” %>
must be work