diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-07-09 13:45:27 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-08-16 15:44:05 +0100 |
commit | 4612f4c4b721157c6d14f277f97f7b262de0e550 (patch) | |
tree | 886728e213d4ad3ea1df2e48f25067e5477224d3 | |
parent | 9289239593e4a64eb51b4183ab70357642810a25 (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 |