Skip to content
Snippets Groups Projects
Commit 44239996 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix account unsilencing and unsuspension (#9637)

Fix regression from 3c033c43
parent aa9a20cd
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
module Admin
class AccountsController < BaseController
before_action :set_account, only: [:show, :subscribe, :unsubscribe, :redownload, :remove_avatar, :remove_header, :enable, :memorialize]
before_action :set_account, only: [:show, :subscribe, :unsubscribe, :redownload, :remove_avatar, :remove_header, :enable, :unsilence, :unsuspend, :memorialize]
before_action :require_remote_account!, only: [:subscribe, :unsubscribe, :redownload]
before_action :require_local_account!, only: [:enable, :memorialize]
......
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