]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/note_comment_notification.html.erb
Refactored the code to invoke the message body partial layout, as suggested in the PR
[rails.git] / app / views / notifier / note_comment_notification.html.erb
index 7492985317db950619621a3fa94c9c1a6c83e29e..ecaff81dc54c193be45c922cb832e10209035049 100644 (file)
@@ -6,8 +6,8 @@
   <p><%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %></p>
 <% end %>
 
-<%= render "notifier/user_message_table", :captured => capture { %>
+<%= message_body do %>
   <%= @comment.to_html %>
-<% } %>
+<% end %>
 
 <p><%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %></p>