Permalink
Browse files

passing text/xml as content type for rundeck xml output

  • Loading branch information...
jhulten committed Apr 4, 2012
1 parent 13d2316 commit 41906c38b53a0d5851f688f88916a73e1a686b9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 grails-app/controllers/yana/node/NodeRestController.groovy
@@ -26,7 +26,7 @@ class NodeRestController {
render list as JSON
break
case "rundeck-xml":
- render generateRundeckXml(list)
+ render(text: generateRundeckXml(list), contentType: "text/xml")
break;
default:
render list as XML

0 comments on commit 41906c3

Please sign in to comment.