Skip to content

Commit f83c31f

Browse files
authored
Update app/models/user_content_report.rb
1 parent def5481 commit f83c31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/user_content_report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def related_request_for_comment
3131
when RequestForComment
3232
reported_content
3333
when Comment
34-
RequestForComment.find_by!(file: reported_content.file)
34+
reported_content.request_for_comment
3535
end
3636
end
3737

0 commit comments

Comments
 (0)