Skip to content
Snippets Groups Projects
Commit 6384041d authored by Yamagishi Kazutoshi's avatar Yamagishi Kazutoshi Committed by Eugen Rochko
Browse files

Add includes to Report#statuses (#3655)

parent 140e73bc
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ class Report < ApplicationRecord
scope :resolved, -> { where(action_taken: true) }
def statuses
Status.where(id: status_ids)
Status.where(id: status_ids).includes(:account, :media_attachments, :mentions)
end
def media_attachments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment