Dashboard avatars: No need to load 40px images if we render them in 24px
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
880fef0d92
commit
0cd2ea88b3
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
#{time_ago_in_words(event.created_at)} ago.
|
||||
|
||||
= cache event do
|
||||
= image_tag avatar_icon(event.author_email), class: "avatar s24", alt:''
|
||||
= image_tag avatar_icon(event.author_email, 24), class: "avatar s24", alt:''
|
||||
|
||||
- if event.push?
|
||||
= render "events/event/push", event: event
|
||||
|
|
Loading…
Reference in a new issue