Commit 39fcd445 authored by Yorick Peterse's avatar Yorick Peterse

Use note.author for issue comment avatars

This removes the need for running a query to find the User object again
based on the supplied Email address.
parent 1554786c
......@@ -2,7 +2,7 @@
.timeline-entry-inner
.timeline-icon
= link_to user_path(note.author) do
= image_tag avatar_icon(note.author_email), class: 'avatar s40', alt: ''
= image_tag avatar_icon(note.author), class: 'avatar s40', alt: ''
.timeline-content
.note-header
- if note_editable?(note)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment