Refactored the code to invoke the message body partial layout, as suggested in the PR
This commit is contained in:
parent
e5152c3931
commit
e3e5ad4c5f
7 changed files with 18 additions and 11 deletions
|
@ -11,9 +11,9 @@
|
|||
<% end %>
|
||||
</p>
|
||||
|
||||
<%= render "notifier/user_message_table", :captured => capture { %>
|
||||
<%= message_body do %>
|
||||
<%= @comment.to_html %>
|
||||
<% } %>
|
||||
<% end %>
|
||||
|
||||
<p>
|
||||
<%= raw t 'notifier.changeset_comment_notification.details', :url => content_tag("nobr", link_to(@changeset_url, @changeset_url)) %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue