Preserve parameters in pagination links
This commit is contained in:
parent
c86e52dee9
commit
d50cf2b102
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
:count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1
|
||||
%>
|
||||
<% if @user_pages.page_count > 1 %>
|
||||
| <%= pagination_links_each(@user_pages, {}) { |n| link_to n, :page => n } %>
|
||||
| <%= pagination_links_each(@user_pages, {}) { |n| link_to n, params.merge(:page => n) } %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue