move org ip rules into their own controller

This commit is contained in:
Adam Cooke
2017-04-21 10:32:22 +01:00
parent ec73bffce0
commit 6eb425eaed
7 changed files with 5 additions and 5 deletions
@@ -1,4 +1,4 @@
class IPPoolsController < ApplicationController
class OrganizationIPPoolsController < ApplicationController
include WithinOrganization
+1 -1
View File
@@ -16,5 +16,5 @@
&rarr;
Edit rule
= render 'organizations/nav', :active_nav => :ips
= render 'ip_pools/nav', :active_nav => :rules
= render 'organization_ip_pools/nav', :active_nav => :rules
= render 'form'
+1 -1
View File
@@ -17,7 +17,7 @@
&rarr;
IP Pool Rules
= render 'organizations/nav', :active_nav => :ips
= render 'ip_pools/nav', :active_nav => :rules
= render 'organization_ip_pools/nav', :active_nav => :rules
.pageContent.pageContent--compact
- if @ip_pool_rules.empty?
+1 -1
View File
@@ -16,6 +16,6 @@
&rarr;
Add new rule
= render 'organizations/nav', :active_nav => :ips
= render 'ip_pools/nav', :active_nav => :rules
= render 'organization_ip_pools/nav', :active_nav => :rules
= render 'form'