css - Stylesheets in Rails -


i use 1 of stylesheets public folder (several directories each own css file) 1 of controllers.

having trouble bringing in static css file.

i've tried following code -

<%= stylesheet_link_tag "/public/foldername/style2.css" %> 

but it's not working

please try

<%= stylesheet_link_tag "/foldername/style2.css" %> 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -