rescue paginate error

This commit is contained in:
thomaschen 2013-08-28 10:31:03 +08:00 committed by chris
parent bc38e24259
commit 078876788a
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@
<% end -%> <% end -%>
<%end -%> <%end -%>
<div class="paginationFixed" id="user_pagination"> <div class="paginationFixed" id="user_pagination">
<%= paginate @users, :params => {:inner => false}%> <%= paginate @users, :params => {:inner => false} rescue nil %>
</div> </div>
</div> </div>