Replace @body with @text again...

This commit is contained in:
Tom Hughes 2011-12-18 17:46:21 +00:00
parent dd46c3f78b
commit f093b9a600
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ class Notifier < ActionMailer::Base
@locale = comment.diary_entry.user.preferred_language_from(I18n.available_locales)
@to_user = comment.diary_entry.user.display_name
@from_user = comment.user.display_name
@body = comment.body
@text = comment.body
@title = comment.diary_entry.title
@readurl = url_for(:host => SERVER_URL,
:controller => "diary_entry",

View file

@ -3,7 +3,7 @@
<%= t'notifier.diary_comment_notification.header', :from_user => @from_user, :subject => @title %>
==
<%= @body %>
<%= raw @text %>
==
<%= t'notifier.diary_comment_notification.footer', :readurl => @readurl, :commenturl => @commenturl, :replyurl => @replyurl %>