Permalink
Browse files

Updated stylesheet_link_tag path for rails 3.1

  • Loading branch information...
1 parent 21cc661 commit 3d0243a456f322be7c488a7c70d0ed9cee459229 @ndbroadbent ndbroadbent committed Sep 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -51,9 +51,9 @@ these CSS URIs.
Add the following line to the `<head>` section of <tt>app/views/layouts/build_mailer.html.erb</tt>:
- <%= stylesheet_link_tag 'mailers/build_mailer' %>
+ <%= stylesheet_link_tag '/stylesheets/mailers/build_mailer' %>
-This will add a stylesheet link for <tt>/stylesheets/mailers/build_mailer.css</tt>.
+This will add a stylesheet link for <tt>public/stylesheets/mailers/build_mailer.css</tt>.
Premailer will then inline the CSS from that file, and remove the link tag.

0 comments on commit 3d0243a

Please sign in to comment.