diff options
author | ThibG <thib@sitedethib.com> | 2020-12-15 04:30:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 04:30:15 +0100 |
commit | 1390cc194bd07b85fe36e31a0cab22981315974d (patch) | |
tree | 27a181069ada860864acbaa90aa8de76e54607e4 /app/services/report_service.rb | |
parent | 7c800fa80188872805091f733c919d6b07b3936e (diff) |
Add indication to admin UI of whether a report has been forwarded (#13237)
* Add indication to admin UI of whether a report has been forwarded * Rework how forwarded status is displayed Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/services/report_service.rb')
-rw-r--r-- | app/services/report_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/report_service.rb b/app/services/report_service.rb index 1e955c1e7..9d9c7d6c9 100644 --- a/app/services/report_service.rb +++ b/app/services/report_service.rb @@ -24,7 +24,8 @@ class ReportService < BaseService target_account: @target_account, status_ids: @status_ids, comment: @comment, - uri: @options[:uri] + uri: @options[:uri], + forwarded: ActiveModel::Type::Boolean.new.cast(@options[:forward]) ) end |