Browse Source

Fix account unsilencing and unsuspension (#9637)

Fix regression from 3c033c4352
pull/4/head
ThibG 5 years ago
committed by Eugen Rochko
parent
commit
4423999609
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/admin/accounts_controller.rb

+ 1
- 1
app/controllers/admin/accounts_controller.rb View File

@ -2,7 +2,7 @@
module Admin module Admin
class AccountsController < BaseController 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_remote_account!, only: [:subscribe, :unsubscribe, :redownload]
before_action :require_local_account!, only: [:enable, :memorialize] before_action :require_local_account!, only: [:enable, :memorialize]

Loading…
Cancel
Save