From 39cc9fde8a2e34da0639d83688d4d6d6d6240382 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 5 Dec 2016 22:59:30 +0100 Subject: Add account suspension --- app/controllers/admin/accounts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/admin') diff --git a/app/controllers/admin/accounts_controller.rb b/app/controllers/admin/accounts_controller.rb index 79fb37eb9..ff1989b52 100644 --- a/app/controllers/admin/accounts_controller.rb +++ b/app/controllers/admin/accounts_controller.rb @@ -33,6 +33,6 @@ class Admin::AccountsController < ApplicationController end def account_params - params.require(:account).permit(:silenced) + params.require(:account).permit(:silenced, :suspended) end end -- cgit