X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/eb8d7be916f82ba43a9fb0fce661489bc04ff4ae..b69e8b5c42b4bd184199757263ca05e1d7db43a9:/app/models/notifier.rb?ds=sidebyside diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 1eb39e678..8f9e3e295 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -167,6 +167,7 @@ class Notifier < ActionMailer::Base def changeset_comment_notification(comment, recipient) with_recipient_locale recipient do + @to_user = recipient.display_name @changeset_url = changeset_url(comment.changeset, :host => SERVER_URL) @comment = comment.body @owner = recipient == comment.changeset.user