diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-12-26 17:40:56 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-12-26 19:13:54 +0100 |
commit | f349fe2159fb36e598263f2797f041417ef7c2da (patch) | |
tree | 6a5291b4e6147d445f7a11da1defd22767a4ee79 /app/controllers/admin | |
parent | 8a3e4a48838405a7a78f2b46cc2b2a7c8fa412fa (diff) |
Fix account unsilencing and unsuspension
Fix regression from 3c033c4352f8b156887cd7157b4a89c23a545838
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/accounts_controller.rb | 2 |
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] |