How does the Grails plugin add custom urls?

I am creating a Grails plugin and I would like to add its own UrlMappings. The UrlMappings.groovy file in the plugin source is ignored by the application using the plugin, so where should it be defined?

+7
source share
1 answer

See http://grails.org/doc/latest/guide/single.html#plugins : Notes on excluded Artefacts

 In addition, although UrlMappings.groovy is excluded you are allowed to include a UrlMappings definition with a different name, such as MyPluginUrlMappings.groovy. 
+13
source

All Articles