Welcome Guest, Not a member yet? Register   Sign In
Route with optional parameter
#4

(07-18-2020, 02:12 AM)jreklund Wrote: You don't need to specify multiple (:any), you can just get away with two routes.
...
You can't however get away with just one routing rule. As (:any) can't be optional.
Cool, maybe that should be clarified in the docs...
Reply


Messages In This Thread
Route with optional parameter - by Cyto5 - 07-17-2020, 10:52 AM
RE: Route with optional parameter - by tgix - 07-17-2020, 11:03 PM
RE: Route with optional parameter - by jreklund - 07-18-2020, 02:12 AM
RE: Route with optional parameter - by tgix - 07-18-2020, 02:57 AM
RE: Route with optional parameter - by MGatner - 07-22-2020, 02:03 PM
RE: Route with optional parameter - by edyahui - 11-16-2020, 06:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB