Displaying 2 results from an estimated 2 matches for "edit_network_ip_addresses".
2009 Sep 23
0
[PATCH server] consolidated network & routing info ui's
...| 2 +-
src/app/models/network.rb | 2 +-
src/app/models/nic.rb | 2 +-
src/app/views/network/_form.rhtml | 15 +++++++++++
src/app/views/network/_ip_address_form.rhtml | 8 +++++-
.../views/network/edit_network_ip_addresses.rhtml | 13 ---------
src/app/views/network/show.rhtml | 4 ---
8 files changed, 46 insertions(+), 27 deletions(-)
delete mode 100644 src/app/views/network/edit_network_ip_addresses.rhtml
diff --git a/src/app/controllers/network_controller.rb b/src/app/controllers/network_...
2009 May 15
0
[PATCH server] use service layer for Network controller.
...ew("Delete failed for some networks",
+ failures, successes)
+ end
+ render :json => { :object => "network", :success => true,
+ :alert => "Networks were successfully deleted." }
+ end
- def edit_network_ip_addresses
- @network = Network.find(params[:id])
+ def edit_network_ip_addresses
+ svc_modify(params[:id])
render :layout => 'popup'
- end
+ end
########################## Ip Address related actions
- def ip_addresses_json
- @parent_type = params[:parent_type]
- if...