]> cat aescling's git repositories - mastodon.git/commitdiff
Fix account unsilencing and unsuspension
authorThibaut Girka <thib@sitedethib.com>
Wed, 26 Dec 2018 16:40:56 +0000 (17:40 +0100)
committerThibG <thib@sitedethib.com>
Wed, 26 Dec 2018 18:13:54 +0000 (19:13 +0100)
Fix regression from 3c033c4352f8b156887cd7157b4a89c23a545838

app/controllers/admin/accounts_controller.rb

index 10abd1e6aebfd36ab76f86b1076b45737bf0916b..f5e5f7ed50f090916b12e00793472be19730dd56 100644 (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]