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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -