mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
fix jihad issue #86
This commit is contained in:
parent
92d4eafbba
commit
487de37477
1 changed files with 1 additions and 1 deletions
|
@ -6,4 +6,4 @@ $('#pagination').html('<%= j will_paginate @inbox, renderer: BootstrapPagination
|
|||
<% else %>
|
||||
$('#pagination, #load-more-btn').remove();
|
||||
<% end %>
|
||||
<% @inbox.update_all(new: false) %>
|
||||
<% Inbox.where(id: @inbox.pluck(:id)).update_all(new: false) %>
|
Loading…
Reference in a new issue