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.
15 lines
325 B
Text
15 lines
325 B
Text
<%= t '.greeting' %>
|
|
|
|
<% if @owner %>
|
|
<%= t ".#{@event}.your_note", :commenter => @commenter, :place => @place %>
|
|
<% else %>
|
|
<%= t ".#{@event}.commented_note", :commenter => @commenter, :place => @place %>
|
|
<% end %>
|
|
|
|
<% unless @comment.empty? %>
|
|
==
|
|
<%= @comment.to_text %>
|
|
==
|
|
|
|
<% end %>
|
|
<%= t '.details', :url => @noteurl %>
|