X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f472e432e0e0afccd34dfcbbda3919a8254ed833..134f9e2df1b3d3c797e7fbb1cf2de3d76a018330:/app/views/traces/index.html.erb diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb index 447716a18..5ec9127a8 100644 --- a/app/views/traces/index.html.erb +++ b/app/views/traces/index.html.erb @@ -68,8 +68,8 @@ <%= render "shared/pagination", :newer_key => "traces.trace_paging_nav.newer", :older_key => "traces.trace_paging_nav.older", - :newer_id => @newer_traces && @traces.first.id, - :older_id => @older_traces && @traces.last.id %> + :newer_id => @newer_traces_id, + :older_id => @older_traces_id %>