This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Redirect to reports overview instead of report after account action (
#9639
)
pull/4/head
Eugen Rochko
5 years ago
committed by
GitHub
parent
f63a0134d7
commit
9b8c7a9aad
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/admin/account_actions_controller.rb
+ 1
- 1
app/controllers/admin/account_actions_controller.rb
View File
@ -17,7 +17,7 @@ module Admin
account_action
.
save!
if
account_action
.
with_report?
redirect_to
admin_report_path
(
account_action
.
report
)
redirect_to
admin_report
s
_path
else
redirect_to
admin_account_path
(
@account
.
id
)
end
Write
Preview
Loading…
Cancel
Save