X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/040c0184a4455f713277fd2d97dd964b067f832a..74b91c0e3e53b4b8da8d7f759ecca67ff5c39a7b:/app/views/traces/_trace_paging_nav.html.erb?ds=sidebyside diff --git a/app/views/traces/_trace_paging_nav.html.erb b/app/views/traces/_trace_paging_nav.html.erb index 4f4b83701..ebde16aa0 100644 --- a/app/views/traces/_trace_paging_nav.html.erb +++ b/app/views/traces/_trace_paging_nav.html.erb @@ -2,7 +2,7 @@ <% if @traces.size > 1 %> <% if @page > 1 %> -<%= link_to t('.newer'), @params.merge({ :page => @page - 1 }) %> +<%= link_to t('.newer'), @params.merge(:page => @page - 1) %> <% else %> <%= t('.newer') %> <% end %> @@ -12,7 +12,7 @@ <% if @traces.size < @page_size %> <%= t('.older') %> <% else %> -<%= link_to t('.older'), @params.merge({ :page => @page + 1 }) %> +<%= link_to t('.older'), @params.merge(:page => @page + 1) %> <% end %> <% end %>