rename admin to advanced settings & add help text

closes #163
This commit is contained in:
Adam Cooke
2017-06-02 12:11:19 +01:00
parent a18d344025
commit fda0cfafc6
6 changed files with 80 additions and 54 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ class ServersController < ApplicationController
include WithinOrganization
before_action :require_organization_admin, :only => [:new, :create, :delete, :destroy]
before_action :admin_required, :only => [:admin, :suspend, :unsuspend]
before_action :admin_required, :only => [:advanced, :suspend, :unsuspend]
before_action { params[:id] && @server = organization.servers.present.find_by_permalink!(params[:id]) }
def index