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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -