fix jihad issue #86

This commit is contained in:
nilsding 2015-02-28 17:29:10 +01:00
parent 92d4eafbba
commit 487de37477
1 changed files with 1 additions and 1 deletions

View File

@ -6,4 +6,4 @@ $('#pagination').html('<%= j will_paginate @inbox, renderer: BootstrapPagination
<% else %> <% else %>
$('#pagination, #load-more-btn').remove(); $('#pagination, #load-more-btn').remove();
<% end %> <% end %>
<% @inbox.update_all(new: false) %> <% Inbox.where(id: @inbox.pluck(:id)).update_all(new: false) %>