Details
Description
When render()ing a template from a controller in a plugin, the context path is not applied to the template URI and so the template can't be found.
Example:
MyController.groovy
class MyController {
def myAction = {
// ...
render(template:'mytemplate', contextPath: pluginContextPath, [some: model])
}
}
The provided patch corrects this issue. I had a look at how the render tag works and copied the relevant code to RenderDynamicMethod.
This issue depends on GRAILS-2487
Thanks for the patch