about summary refs log tree commit diff
path: root/app/controllers/admin/accounts_controller.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-12-26 19:16:15 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-12-26 19:16:15 +0100
commit4423999609e741b0898d6227566a55c74600072f (patch)
treed6ee423e1abe465b1a066f9e44253ba72a212ced /app/controllers/admin/accounts_controller.rb
parentaa9a20cde0fe3eb2a4af570cd4437c34a18ce0da (diff)
Fix account unsilencing and unsuspension (#9637)
Fix regression from 3c033c4352f8b156887cd7157b4a89c23a545838
Diffstat (limited to 'app/controllers/admin/accounts_controller.rb')
-rw-r--r--app/controllers/admin/accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/accounts_controller.rb b/app/controllers/admin/accounts_controller.rb
index 10abd1e6a..f5e5f7ed5 100644
--- a/app/controllers/admin/accounts_controller.rb
+++ b/app/controllers/admin/accounts_controller.rb
@@ -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]