I would like to create a Route at Lithium, which matches
- /abc
- /abC
- /aBc
- and so on
So far i have something like this:
Router::connect('/abc', array('Example::test'));
Is there a possibility to change it to something uncase sensitive.
Thanks for your help, i couldn’t find a thing in the docs.
You should be able to do it like this:
Edit: There is a nicer way to do it as well by creating the Route object by your self
If i brake out the pattern above ‘@^/ab?$@i’
And you can find more information here:
http://li3.me/docs/lithium/net/http/Route