1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2025-01-02 21:23:18 +00:00

Fix account unsilencing and unsuspension ()

Fix regression from 3c033c4352
This commit is contained in:
ThibG 2018-12-26 19:16:15 +01:00 committed by Eugen Rochko
parent aa9a20cde0
commit 4423999609

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]