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