开发者

Urlmapping for camel case with more than one meaningful step

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜