UI for admins to assign ip pools to servers

This commit is contained in:
Adam Cooke
2017-04-21 11:26:19 +01:00
parent 79f7707d09
commit 2def9c0fb9
6 changed files with 49 additions and 27 deletions
+3 -1
View File
@@ -60,7 +60,9 @@ Rails.application.routes.draw do
post :make_owner, :on => :member
end
resources :ip_pool_rules
resources :ip_pools, :controller => 'organization_ip_pools'
resources :ip_pools, :controller => 'organization_ip_pools' do
put :assignments, :on => :collection
end
root 'servers#index'
get 'settings' => 'organizations#edit'
patch 'settings' => 'organizations#update'