forked from bofh/fetsite
calendar cache
This commit is contained in:
@@ -35,10 +35,7 @@
|
||||
<div class="span9">
|
||||
<ul class="unstyled linkbox-list" style="max-width:70em" id="neuigkeiten">
|
||||
<% @neuigkeiten.each do |neuigkeit| %>
|
||||
|
||||
|
||||
<%= render neuigkeit, wrap_in: "li" %>
|
||||
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
@@ -49,7 +46,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="span3">
|
||||
<% 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 %>
|
||||
<%= link_to "ics-format", calendar_path(@rubrik.calendar,:format=>:ics) %>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user