about summary refs log tree commit diff
path: root/app/controllers/admin/roles_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/roles_controller.rb')
-rw-r--r--app/controllers/admin/roles_controller.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/admin/roles_controller.rb b/app/controllers/admin/roles_controller.rb
index af7ec0740..13f56e9be 100644
--- a/app/controllers/admin/roles_controller.rb
+++ b/app/controllers/admin/roles_controller.rb
@@ -17,11 +17,5 @@ module Admin
       log_action :demote, @user
       redirect_to admin_account_path(@user.account_id)
     end
-
-    private
-
-    def set_user
-      @user = Account.find(params[:account_id]).user || raise(ActiveRecord::RecordNotFound)
-    end
   end
 end