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?
|
- if event.proper?
|
||||||
= cache event do
|
%div.event-item
|
||||||
%div.event-item
|
%span.cgray.pull-right
|
||||||
%span.cgray.pull-right
|
#{time_ago_in_words(event.created_at)} ago.
|
||||||
#{time_ago_in_words(event.created_at)} ago.
|
|
||||||
|
|
||||||
|
= cache event do
|
||||||
= image_tag gravatar_icon(event.author_email), class: "avatar s24"
|
= image_tag gravatar_icon(event.author_email), class: "avatar s24"
|
||||||
|
|
||||||
- if event.push?
|
- if event.push?
|
||||||
|
|
Loading…
Reference in a new issue