X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/32ac67c446d30382298d6fbff198e1371ac67a50..117f0e82260efba3c6862e3aefa4b015b062a109:/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 %>