refactor: user management

This commit is contained in:
Adam Cooke
2021-07-28 14:17:59 +00:00
parent e9a52e9512
commit daf469ce7f
27 changed files with 106 additions and 359 deletions
-1
View File
@@ -2,7 +2,6 @@ class ServersController < ApplicationController
include WithinOrganization
before_action :require_organization_admin, :only => [:new, :create, :delete, :destroy]
before_action :admin_required, :only => [:advanced, :suspend, :unsuspend]
before_action { params[:id] && @server = organization.servers.present.find_by_permalink!(params[:id]) }