X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/324c37a39ba7a59eee633f0b19203670d491b520..654d22ed2e30f406d036cb57273678c4406f3535:/app/models/notifier.rb diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 5ec401d18..1107a0da6 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -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