With Grails, in UrlMappings.groovy, it seems I can specify the controller and action:
"/someURL" (controller: "Some", action: "someAction")
Or I can specify a view:
"/someURL" (view: "someView")
But I can not specify the controller, action and view:
"/someURL" (controller: "Some", action: "someAction", view: "someView")
Instead, I have to specify the view in the controller. Is there a way to specify a view in UrlMappings.groovy? Or is it simply impossible?
source
share