X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad4ab4603b27f2e89e4bb4a709bc04a6685ba67b..a948f2bc24be0679a42bbd1329d132d9ea20f866:/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 -%>