Skip to content

Instantly share code, notes, and snippets.

@ccjr
Created April 6, 2010 20:02
Show Gist options
  • Save ccjr/358023 to your computer and use it in GitHub Desktop.
Save ccjr/358023 to your computer and use it in GitHub Desktop.
[Beginning Rails 3] Listing 9-12. The comment_added mailer template in app/views/notifier/comment_added.html.erb
<html>
<body>
<p>
Someone added a comment to one of your articles <i><%= @article.title %></i>.
Go read the comment: <%= link_to @article.title, article_url(@article, :host => 'localhost:3000') %>.
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment