Rename Notifier to UserMailer
It's a convention in rails to name your mailers with a Mailer suffix, and is also common to name the class after the recipient (e.g. User, Admin). So UserMailer seems a reasonable choice.
This commit is contained in:
parent
9b19a45e74
commit
2c1033f62d
37 changed files with 93 additions and 101 deletions
|
@ -0,0 +1,20 @@
|
|||
<%= t '.hi', :to_user => @to_user %>
|
||||
|
||||
<% if @owner %>
|
||||
<%= t ".commented.your_changeset", :commenter => @commenter, :time => @time %>
|
||||
<% else %>
|
||||
<%= t ".commented.commented_changeset", :commenter => @commenter, :time => @time, :changeset_author => @changeset_author %>
|
||||
<% end %>
|
||||
<% if @changeset_comment %>
|
||||
<%= t ".commented.partial_changeset_with_comment", :changeset_comment => @changeset_comment %>
|
||||
<% else %>
|
||||
<%= t ".commented.partial_changeset_without_comment" %>
|
||||
<% end %>
|
||||
|
||||
==
|
||||
<%= @comment.to_text %>
|
||||
==
|
||||
|
||||
<%= t '.details', :url => @changeset_url %>
|
||||
|
||||
<%= t '.unsubscribe', :url => @changeset_url %>
|
Loading…
Add table
Add a link
Reference in a new issue