]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Move ?: operator outside of t() for "Only ... can edit" block messages
[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)
 
       @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
 
     end
   end