forked from bofh/fetsite
calendar cache
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span3">
|
||||
<% cache("jsneuigkeiten_" + @calentries.pluck(:id).join('') + @calentries.order(:updated_at).reverse_order.pluck(:updated_at).first.to_i.to_s) do %>
|
||||
<% cache("calendar_" + @calentries.pluck(:id).join('') + @calentries.order(:updated_at).reverse_order.pluck(:updated_at).first.to_i.to_s) do %>
|
||||
<%= render 'calendars/calentries', :object=>@calentries %>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user