]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/diary_entries_controller.rb
Limit the number of users counted for users#index
[rails.git] / app / controllers / diary_entries_controller.rb
index dd7efc7cacf3c359e21a28d32aed1b19357b6674..ff6dfc826cbf67763889a8c9c490b87558a58c45 100644 (file)
@@ -60,6 +60,8 @@ class DiaryEntriesController < ApplicationController
     @params = params.permit(:display_name, :friends, :nearby, :language)
 
     @entries, @newer_entries_id, @older_entries_id = get_page_items(entries, :includes => [:user, :language])
+
+    render :partial => "page" if turbo_frame_request_id == "pagination"
   end
 
   def show