As we know, grails automatically maps MyController
to [开发者_JS百科root]/my
as expected, but if I have MyAnotherController
it gets mapped to [root]/myAnother
. I would like to get it mapped automatically to [root]/my/another
.
Is there a way to do this without putting additional URL mapping directives to conf/UrlMappings.groovy
?
There is an open JIRA related to this (placing controllers in sub folders/ packages). Go ahead and vote for it. I would love to see this implemented in Grails.
http://jira.codehaus.org/browse/GRAILS-1243
精彩评论