X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/261a93fbbc974400d40b74bca9923887d939ab79..1ae014afa1e9cb79abea820610beea1bcf66b99c:/app/views/changeset/_changeset_paging_nav.html.erb?ds=sidebyside diff --git a/app/views/changeset/_changeset_paging_nav.html.erb b/app/views/changeset/_changeset_paging_nav.html.erb index 7b99b60ea..52c3decb8 100644 --- a/app/views/changeset/_changeset_paging_nav.html.erb +++ b/app/views/changeset/_changeset_paging_nav.html.erb @@ -1,7 +1,7 @@

<% if @page > 1 %> -<%= link_to t('changeset.changeset_paging_nav.previous'), :page => @page - 1 %> +<%= link_to t('changeset.changeset_paging_nav.previous'), params.merge({ :page => @page - 1 }) %> <% else %> <%= t('changeset.changeset_paging_nav.previous') %> <% end %> @@ -11,7 +11,7 @@ <% if @edits.size < @page_size %> <%= t('changeset.changeset_paging_nav.next') %> <% else %> -<%= link_to t('changeset.changeset_paging_nav.next'), :page => @page + 1 %> +<%= link_to t('changeset.changeset_paging_nav.next'), params.merge({ :page => @page + 1 }) %> <% end %>