{"action":"created","issue":{"url":"https://api.github.com/repos/rlovtangen/grails-wkhtmltopdf/issues/15","repository_url":"https://api.github.com/repos/rlovtangen/grails-wkhtmltopdf","labels_url":"https://api.github.com/repos/rlovtangen/grails-wkhtmltopdf/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/rlovtangen/grails-wkhtmltopdf/issues/15/comments","events_url":"https://api.github.com/repos/rlovtangen/grails-wkhtmltopdf/issues/15/events","html_url":"https://github.com/rlovtangen/grails-wkhtmltopdf/issues/15","id":124822224,"number":15,"title":"Controller is rendering not generating PDF","user":{"login":"arjangch","id":503517,"avatar_url":"https://avatars.githubusercontent.com/u/503517?v=3","gravatar_id":"","url":"https://api.github.com/users/arjangch","html_url":"https://github.com/arjangch","followers_url":"https://api.github.com/users/arjangch/followers","following_url":"https://api.github.com/users/arjangch/following{/other_user}","gists_url":"https://api.github.com/users/arjangch/gists{/gist_id}","starred_url":"https://api.github.com/users/arjangch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjangch/subscriptions","organizations_url":"https://api.github.com/users/arjangch/orgs","repos_url":"https://api.github.com/users/arjangch/repos","events_url":"https://api.github.com/users/arjangch/events{/privacy}","received_events_url":"https://api.github.com/users/arjangch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-04T19:30:13Z","updated_at":"2016-03-08T22:07:22Z","closed_at":"2016-03-08T22:05:56Z","body":"Hi, \r\n\r\nGrails 3.0.9\r\ncompile \"org.grails.plugins:wkhtmltopdf:1.0.0.RC3\"\r\napplication.yml already has  pdf: application/pdf\r\ncommand line works  %> wkhtmltopdf www.google.com myhomepage.pdf\r\n\r\nI am trying to generate PDF in controller/action. But it renders the the template rather than generate PDF.  If i comment out render() from action it will generate empty PDF. \r\n\r\nrender( filename:\"File bla.pdf\",\r\n                view:\"/salesRep/pdfGenerator\",\r\n                model:[bla:bla],\r\n                header:\"\",\r\n                footer:\"\",\r\n                marginLeft:20,\r\n                marginTop:35,\r\n                marginBottom:20,\r\n                marginRight:20,\r\n                headerSpacing:10)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rlovtangen/grails-wkhtmltopdf/issues/comments/193987941","html_url":"https://github.com/rlovtangen/grails-wkhtmltopdf/issues/15#issuecomment-193987941","issue_url":"https://api.github.com/repos/rlovtangen/grails-wkhtmltopdf/issues/15","id":193987941,"user":{"login":"rlovtangen","id":233839,"avatar_url":"https://avatars.githubusercontent.com/u/233839?v=3","gravatar_id":"","url":"https://api.github.com/users/rlovtangen","html_url":"https://github.com/rlovtangen","followers_url":"https://api.github.com/users/rlovtangen/followers","following_url":"https://api.github.com/users/rlovtangen/following{/other_user}","gists_url":"https://api.github.com/users/rlovtangen/gists{/gist_id}","starred_url":"https://api.github.com/users/rlovtangen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlovtangen/subscriptions","organizations_url":"https://api.github.com/users/rlovtangen/orgs","repos_url":"https://api.github.com/users/rlovtangen/repos","events_url":"https://api.github.com/users/rlovtangen/events{/privacy}","received_events_url":"https://api.github.com/users/rlovtangen/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T22:07:22Z","updated_at":"2016-03-08T22:07:22Z","body":"Can you try 1.0.0.RC4 ?"}}