Skip to content
This repository
Browse code

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

passing text/xml as content type for rundeck xml output
  • Loading branch information...
commit 864157ef011ab8094161f80e320034d55111060d 2 parents 13d2316 + 41906c3
Alex Honor ahonor authored
2  grails-app/controllers/yana/node/NodeRestController.groovy
@@ -26,7 +26,7 @@ class NodeRestController {
26 26 render list as JSON
27 27 break
28 28 case "rundeck-xml":
29   - render generateRundeckXml(list)
  29 + render(text: generateRundeckXml(list), contentType: "text/xml")
30 30 break;
31 31 default:
32 32 render list as XML

0 comments on commit 864157e

Please sign in to comment.
Something went wrong with that request. Please try again.