cache rubrik tabs

This commit is contained in:
Andreas Stephanides
2015-04-09 09:14:27 +02:00
parent ca4e2ef7cd
commit 2c6406f268

View File

@@ -10,8 +10,9 @@
<%= display_meta_tags %>
<% end %>
<% cache("rubriken_tabs_" + @rubriken.max{|r| r.updated_at.to_i}.updated_at.to_i.to_s + can?(:verwalten, Rubrik).to_s) do %>
<%= render 'tabs' %>
<% end %>
<%= render 'layouts/pretty_toolbar', :object=> @toolbar_elements %>
<p id="notice"><%= notice %></p>
<div class="content-wrap content-column">