On Tue, Feb 18, 2014 at 11:58 PM, Farsheed Bamboat <[email protected]>wrote:

> <% content_for :head do %>
>   <link rel="stylesheet" type="text/css"
> href="/stylesheets/ammos_new.css">
> <% end %>
>

You should use the <%= stylesheet_link_tag 'filename' %> instead of
including the <link tag directly. Rails will generate the stylesheet html
for you

Thanks,
Ganesh

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CALFmRoHZHrg2awsqOvgCE6gMHvLeWnbr1%2BKkFX0s7saWWyCQQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to