remove types from ip pools

closes #24
This commit is contained in:
Adam Cooke
2017-04-28 16:40:53 +01:00
parent 88974cee85
commit 698b580db4
10 changed files with 14 additions and 29 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class IPPoolsController < ApplicationController
private
def safe_params
params.require(:ip_pool).permit(:name, :type, :default)
params.require(:ip_pool).permit(:name, :default)
end
end
@@ -4,7 +4,7 @@ class OrganizationIPPoolsController < ApplicationController
before_action :admin_required, :only => [:assignments]
def index
@ip_pools = organization.ip_pools.dedicated.order(:name)
@ip_pools = organization.ip_pools.order(:name)
end
def assignments