diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-05-09 17:17:12 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-05-11 20:12:32 +0300 |
commit | 396c54d6ec0f8c97e443903a46ed4b99572839fd (patch) | |
tree | 3ae4672a45c62a81c4efcd2a08b7ea8f44d60def | |
parent | 6e62eb01665ca69933600fe977e35cb36804dace (diff) |
Set the author when rendering Markdown in Emails
This ensures the UserReferenceFilter can render any links mentioning all
project members.
-rw-r--r-- | app/views/notify/_note_message.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/_note_message.html.haml b/app/views/notify/_note_message.html.haml index 12ded41fbf2..e9c66170877 100644 --- a/app/views/notify/_note_message.html.haml +++ b/app/views/notify/_note_message.html.haml @@ -2,4 +2,4 @@ %div #{link_to @note.author_name, user_url(@note.author)} wrote: %div - = markdown(@note.note, pipeline: :email) + = markdown(@note.note, pipeline: :email, author: @note.author) |