forked from bofh/fetsite
calendar cache
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<% cache("jsneuigkeiten_" + @neuigkeiten.pluck(:id).join('') + @neuigkeiten.order(:updated_at).reverse_order.pluck(:updated_at).first.to_i.to_s) do %>
|
||||
$('#neuigkeiten').append('<%= j render @neuigkeiten, :wrap_in => :li %>');
|
||||
<% end %>
|
||||
<% if @neuigkeiten.next_page %>
|
||||
$('.pagination').replaceWith('<%= j paginate @neuigkeiten, theme: 'twitter-bootstrap' %>');
|
||||
<% else %>
|
||||
|
||||
Reference in New Issue
Block a user