X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/965fb0b3ae7c89ae46d606147811674d646b6acb..fe1e28b4f45f6aa4bb53dc5163c187c5206b66a7:/app/views/notes/_notes_paging_nav.html.erb diff --git a/app/views/notes/_notes_paging_nav.html.erb b/app/views/notes/_notes_paging_nav.html.erb index 108cbb3d2..862eae17c 100644 --- a/app/views/notes/_notes_paging_nav.html.erb +++ b/app/views/notes/_notes_paging_nav.html.erb @@ -1,7 +1,7 @@
<% if @page > 1 %> -<%= link_to t('changeset.changeset_paging_nav.previous'), params.merge({ :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 @notes.size < @page_size %> <%= t('changeset.changeset_paging_nav.next') %> <% else %> -<%= link_to t('changeset.changeset_paging_nav.next'), params.merge({ :page => @page + 1 }) %> +<%= link_to t('changeset.changeset_paging_nav.next'), @params.merge({ :page => @page + 1 }) %> <% end %>