]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Return the body of a note comment as a rich text object
[rails.git] / app / models / notifier.rb
index 5ec401d18ea501d56e193188a8f6e6b2c971e6fa..1107a0da6be1051df0ae96cb04c11bdb56d714bf 100644 (file)
@@ -118,7 +118,7 @@ class Notifier < ActionMailer::Base
     @locale = recipient.preferred_language_from(I18n.available_locales)
     @noteurl = browse_note_url(comment.note, :host => SERVER_URL)
     @place = comment.note.nearby_place
-    @comment = RichText::Text.new(comment.body)
+    @comment =comment.body
     @owner = recipient == comment.note.author
     @commenter = comment.author_name