diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-07-09 13:45:27 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-07-09 13:45:27 +0100 |
commit | 2f6af7486706e9a39b220cabea9a4a47839d59a6 (patch) | |
tree | b270e7de2da98094599a3ed0bc421e36b316b0d4 | |
parent | 2547fc90a8630aec7f31af8be0bebf5e6c68dca1 (diff) |
Fix bug introduced in commit 049198b
-rw-r--r-- | app/views/track_mailer/event_digest.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/track_mailer/event_digest.rhtml b/app/views/track_mailer/event_digest.rhtml index 469910007..2c2e3c957 100644 --- a/app/views/track_mailer/event_digest.rhtml +++ b/app/views/track_mailer/event_digest.rhtml @@ -28,7 +28,7 @@ main_text += _("{{user_name}} sent a request to {{public_body}}", :user_name => event.info_request.user_name, :public_body => event.info_request.public_body.name) elsif event.event_type == 'comment' url = main_url(comment_url(event.comment)) - main_text += _("{{user_name}} added an annotation", :user_name => event.comment.user_name) + main_text += _("{{user_name}} added an annotation", :user_name => event.comment.user.name) else raise "unknown type in event_digest " + event.event_type end |