Fix account unsilencing and unsuspension

Fix regression from 2e0d617b8b
lolsob-rspec
Thibaut Girka 2018-12-26 17:40:56 +01:00 committed by ThibG
parent f532d5e93d
commit 9bc763840f
1 changed files with 1 additions and 1 deletions

View File

@ -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]