Skip to content
Discussion options

You must be logged in to vote

I believe you are looking for the wildcard segments. It would look something like this:

.get(name="listings", pattern="listings/[key]/*[searchOptions]", to="listings##list")

Now, this wildcard segment *[searchOptions] will return PARAMS.searchOptions to your controller and you'll have to treat it like a "/" delimited list or, even better than a list, use the listToArray( PARAMS.searchOptioins , '/' ) to convert that list to an array to use for your search.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@dbelanger
Comment options

Answer selected by MvdO79
@MvdO79
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants