Asset Pipeline absolute path bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Asset Pipeline absolute path bug

Nathan
Hello, when using the tag <asset:image absolute="true" src="image name"/>, the absolute path is generated just fine when rendering a gsp from a controller. but when using groovyPageRenderer to render a gsp inside a service the absolute path is missing a "/" in between the controller name and "asset". Here is a link to a test project where I recreated this issue. https://github.com/nburk2/absoluteImageBug.git    I would like to know if I should create a grails asset pipeline bug ticket. To test it run the project go to the "/test/goodUrl" to see the absolute asset:image path of an image when rendering a gsp from the controller and "/test/badUrl" to see the absolute asset:image path of an image when rendering a gsp from a service using groovyPageRenderer.

Thank you for any feedback,

Nathan