This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Add includes to Report#statuses (
#3655
)
closed-social-v3
Yamagishi Kazutoshi
7 years ago
committed by
Eugen Rochko
parent
140e73bc82
commit
6384041d17
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/report.rb
+ 1
- 1
app/models/report.rb
View File
@ -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
Write
Preview
Loading…
Cancel
Save