By default SomeController.groovy
has a controller name of some
. Also, pkg.SomeController
has a controller name of pkg/some
.
Is there a way to plug a custom mechanism for this translation. In my particular instance I want to get rid of the pkg
(it's a long story why I need this)
I can try to use @Controller("name")
but given the number of existing controllers this is less preferable.