Looks like @body is special somehow so use @text instead
[rails.git] / app / models / notifier.rb
index 03923e9e71e2db8525971e3a55ffba713f679f77..2b6574a977aafd3926602af9e841d58bdaa166b0 100644 (file)
@@ -62,7 +62,7 @@ class Notifier < ActionMailer::Base
     @locale = message.recipient.preferred_language_from(I18n.available_locales)
     @to_user = message.recipient.display_name
     @from_user = message.sender.display_name
-    @body = message.body
+    @text = message.body
     @title = message.title
     @readurl = url_for(:host => SERVER_URL,
                        :controller => "message", :action => "read",