search for: 3ecb132

Displaying 1 result from an estimated 1 matches for "3ecb132".

2009 Aug 18
1
[PATCH server] Add of a button destroy for disabled hosts.
...5 +++++ src/app/services/host_service.rb | 15 +++++++++++++++ src/app/views/host/show.rhtml | 17 +++++++++++++++++ 3 files changed, 37 insertions(+), 0 deletions(-) diff --git a/src/app/controllers/host_controller.rb b/src/app/controllers/host_controller.rb index 20e9fca..3ecb132 100644 --- a/src/app/controllers/host_controller.rb +++ b/src/app/controllers/host_controller.rb @@ -80,6 +80,11 @@ class HostController < ApplicationController :success => true } end + + def destroy + alert = svc_destroy(params[:id]) + render :json => { :object =&g...