X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f99d7374a947befe58a943109b561061eb81067f..ec5754a9bd56dbb802a2897851ebf71deb017f89:/app/views/shared/_pagination.html.erb diff --git a/app/views/shared/_pagination.html.erb b/app/views/shared/_pagination.html.erb index 3dbce6f98..c8eddcd37 100644 --- a/app/views/shared/_pagination.html.erb +++ b/app/views/shared/_pagination.html.erb @@ -7,7 +7,7 @@ <% end %> <% if newer_id -%>
  • - <%= link_to newer_link_content, @params.merge(:before => nil, :after => newer_id), :class => link_class %> + <%= link_to newer_link_content, @params.merge(:before => nil, :after => newer_id), :class => link_class, :data => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" } %>
  • <% else -%>
  • @@ -21,7 +21,7 @@ <% end %> <% if older_id -%>
  • - <%= link_to older_link_content, @params.merge(:before => older_id, :after => nil), :class => link_class %> + <%= link_to older_link_content, @params.merge(:before => older_id, :after => nil), :class => link_class, :data => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" } %>
  • <% else -%>