ref: refs/heads/master
commit 67d0ca08d3f95a60bd442180f6f567ea63153d0f
Author: Jiri Suchomel
Date: Wed Sep 16 13:39:37 2009 +0200
format xml for better testing
---
.../app/controllers/administrator_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/administrator/app/controllers/administrator_controller.rb b/plugins/administrator/app/controllers/administrator_controller.rb
index be54d65..5a06f0a 100644
--- a/plugins/administrator/app/controllers/administrator_controller.rb
+++ b/plugins/administrator/app/controllers/administrator_controller.rb
@@ -14,7 +14,7 @@ class AdministratorController < ApplicationController
respond_to do |format|
format.html { render :xml => @admin.to_xml(:root => "administrator"), :location => "none" } #return xml only
- format.xml { render :xml => @admin.to_xml(:root => "administrator"), :location => "none" }
+ format.xml { render :xml => @admin.to_xml(:root => "administrator", :indent=>2), :location => "none" }
format.json { render :json => @admin.to_json, :location => "none" }
end
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org