1
0
Fork 0
forked from OpenNeo/impress

durr, don't cache new items on the homepage

This commit is contained in:
Emi Matchu 2012-08-08 23:05:32 -04:00
parent 50de2ed36f
commit 5e89287537

View file

@ -86,8 +86,9 @@
%span#latest-contribution-created-at{:title => @latest_contribution.created_at.to_s} %span#latest-contribution-created-at{:title => @latest_contribution.created_at.to_s}
#{time_ago_in_words @latest_contribution.created_at} ago #{time_ago_in_words @latest_contribution.created_at} ago
- cache :action_suffix => 'whats_new' do
#whats-new #whats-new
- cache :action_suffix => 'blog_preview' do
#blog-preview #blog-preview
%h2 %h2
%div %div