X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9fbe52dd219c5f11ebee0243da4d08574cc761c5..f02a6c91f329c0ba4afe76d2e0d90948fbd7ab9c:/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