Permalink
Browse files

Merge pull request #9 from jhulten/rundeck-xml-content-type

passing text/xml as content type for rundeck xml output
  • Loading branch information...
2 parents 13d2316 + 41906c3 commit 864157ef011ab8094161f80e320034d55111060d @ahonor ahonor committed Apr 4, 2012
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 864157e

Please sign in to comment.