fix event relative date being cached
This commit is contained in:
parent
bc15713569
commit
9c709be335
1 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
- if event.proper?
|
||||
= cache event do
|
||||
%div.event-item
|
||||
%span.cgray.pull-right
|
||||
#{time_ago_in_words(event.created_at)} ago.
|
||||
|
||||
= cache event do
|
||||
= image_tag gravatar_icon(event.author_email), class: "avatar s24"
|
||||
|
||||
- if event.push?
|
||||
|
|
Loading…
Reference in a new issue