X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/040c0184a4455f713277fd2d97dd964b067f832a..74b91c0e3e53b4b8da8d7f759ecca67ff5c39a7b:/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 694f99602..224e227c3 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('changesets.changeset_paging_nav.previous'), @params.merge({ :page => @page - 1 }) %> +<%= link_to t('changesets.changeset_paging_nav.previous'), @params.merge(:page => @page - 1) %> <% else %> <%= t('changesets.changeset_paging_nav.previous') %> <% end %> @@ -11,7 +11,7 @@ <% if @notes.size < @page_size %> <%= t('changesets.changeset_paging_nav.next') %> <% else %> -<%= link_to t('changesets.changeset_paging_nav.next'), @params.merge({ :page => @page + 1 }) %> +<%= link_to t('changesets.changeset_paging_nav.next'), @params.merge(:page => @page + 1) %> <% end %>