I quite often run into a situation where I need a GET route with two directories.
Something like this:
In a route when we use
(:all) we need something to separate the two strings. Using
(:all)/(:all) will not work, because then it will be
It would be possible to do something like this:
(mybe the slash needs to be urlencoded, not sure)
Another solution is to do like this:
I like the last one. Do you think it’s fine or do you have a better solution?