]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Merge pull request #4646 from tomhughes/turbo-pagination
[rails.git] / app / controllers / users_controller.rb
index 0830e51d402bb02ca877b5ca7da6523ebf59de51..4ebeb1ec3a271f9139fb6932b77d00d1a49cb514 100644 (file)
@@ -40,6 +40,8 @@ class UsersController < ApplicationController
 
       @users_count = users.count
       @users, @newer_users_id, @older_users_id = get_page_items(users, :limit => 50)
+
+      render :partial => "page" if turbo_frame_request_id == "pagination"
     end
   end