Fix event cache

This commit is contained in:
Douwe Maan 2015-08-10 12:31:34 +02:00
parent b833f208f3
commit 0d1c260122

View file

@ -3,7 +3,7 @@
.event-item-timestamp
#{time_ago_with_tooltip(event.created_at)}
= cache event, "v1" do
= cache [event, "v1"] do
= image_tag avatar_icon(event.author_email, 24), class: "avatar s24", alt:''
- if event.created_project?
= render "events/event/created_project", event: event