Graphical Grails URL Mapping with Double Pattern

I want to use an optional parameter with a double pattern. In Grails 2 I had this model and it worked well. In Grails 3, the optional template doesn't work and is imagePath

always required, which I don't want.

"/image/$action?/$imagePath**?"(controller: "image")

+3
grails url-mapping


source to share


No one has answered this question yet

Check out similar questions:

615
Posting the file and associated data to a RESTful WebService preferably in JSON
five
Grails 2.2.0 URLMappings: Any way to use the same URL with a different verb
five
how to define Grails url bindings with optional parameters not at the end of the url
3
Grails UrlMappings with URL pattern ending in "/"
2
grails url mapping
1
Is Grails missing support for HTTP OPTIONS requests?
1
URL Viewer Graphs
1
Grails url rendering issue: parameters are incorrect
1
Grails Controller and URL Mapping Magic
0
Grails: Same url for different actions for different HTTP methods



All Articles
Loading...
X
Show
Funny
Dev
Pics