Signed-off-by: Corey Osman <corey@logicminds.biz>
···
--- app/controllers/hosts_controller.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)diff --git a/app/controllers/hosts_controller.rb b/app/controllers/hosts_controller.rb
index 55d388b…eee2ae1 100644
— a/app/controllers/hosts_controller.rb
+++ b/app/controllers/hosts_controller.rb
@@ -39,7 +39,7 @@ class HostsController < ApplicationController
# rendering index page for non index page requests (out of sync hosts etc)
render :index if title and @title = title
end
-
format.json { render :json => search.all(:select => "hosts.name", :include => included_associations).map(&:name) }
-
format.json { render :json => search.all(:select => "hosts.name, hosts.puppet_status,hosts.id, hostgroup_id", :include => included_associations) } format.yaml do render :text => if params["rundeck"] result = {}
–
1.7.1