How can i call a stylesheet other then from /public/stylesheets/ folder..
On 4/14/09, Shandy Nantz <[email protected]> wrote: > > 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" %> > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

