How to setup a single route with optional argument |
The relationship between multiple segments and parameters with (:any) is odd to me, but it is a specification.
See https://codeigniter4.github.io/CodeIgnit...ior-of-any If you want to catch all segments, use the syntax ...$params If I could fix it, I would, but changing the behavior would be a breaking change, so it is not easy to change. |
Welcome Guest, Not a member yet? Register Sign In |