X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/32ac67c446d30382298d6fbff198e1371ac67a50..37f404252c6cdfef5d66545da774b2d1abbd6703:/app/views/trace/_trace_paging_nav.html.erb diff --git a/app/views/trace/_trace_paging_nav.html.erb b/app/views/trace/_trace_paging_nav.html.erb index dea4271d2..10a563fb4 100644 --- a/app/views/trace/_trace_paging_nav.html.erb +++ b/app/views/trace/_trace_paging_nav.html.erb @@ -2,7 +2,7 @@ <% if @traces.size > 1 %> <% if @page > 1 %> -<%= link_to t('trace.trace_paging_nav.newer'), params.merge({ :page => @page - 1 }) %> +<%= link_to t('trace.trace_paging_nav.newer'), @params.merge({ :page => @page - 1 }) %> <% else %> <%= t('trace.trace_paging_nav.newer') %> <% end %> @@ -12,7 +12,7 @@ <% if @traces.size < @page_size %> <%= t('trace.trace_paging_nav.older') %> <% else %> -<%= link_to t('trace.trace_paging_nav.older'), params.merge({ :page => @page + 1 }) %> +<%= link_to t('trace.trace_paging_nav.older'), @params.merge({ :page => @page + 1 }) %> <% end %> <% end %>