X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bd577d7c92ac81081174f19b8c31899c22145636..5f7dd9d8b378ee532e29f6b49fc745cf9b949e5b:/app/controllers/users/diary_comments_controller.rb diff --git a/app/controllers/users/diary_comments_controller.rb b/app/controllers/users/diary_comments_controller.rb index 8f41e509f..4737ec007 100644 --- a/app/controllers/users/diary_comments_controller.rb +++ b/app/controllers/users/diary_comments_controller.rb @@ -8,7 +8,7 @@ module Users @params = params.permit(:display_name, :before, :after) - @comments, @newer_comments_id, @older_comments_id = get_page_items(comments, :includes => [:user]) + @comments, @newer_comments_id, @older_comments_id = get_page_items(comments, :includes => [:user, :diary_entry]) render :partial => "page" if turbo_frame_request_id == "pagination" end