From: ThibG Date: Wed, 26 Dec 2018 18:16:15 +0000 (+0100) Subject: Fix account unsilencing and unsuspension (#9637) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=4423999609e741b0898d6227566a55c74600072f;p=mastodon.git Fix account unsilencing and unsuspension (#9637) Fix regression from 3c033c4352f8b156887cd7157b4a89c23a545838 --- 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]