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:
Dmitriy Zaporozhets 2013-12-11 16:09:23 +02:00
parent 880fef0d92
commit 0cd2ea88b3
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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