How can i call a stylesheet other then from /public/stylesheets/ folder..


On 4/14/09, Shandy Nantz <rails-mailing-l...@andreas-s.net> 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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to