webzash
webzash copied to clipboard
How to overriding Application routes names ?
How do I override routes name to my desired name. In http://localhost/wzusers for wzusers I want to use users only.
https://github.com/prashants/webzash/blob/master/Config/routes.php
I'm totally new to CakePHP and I tried but couldtn't manage. Please help me showing an example. You would be greatly appreciated.
Something of this sort. I haven't tested it.
Router::connect('/user/add/*', array('controller' => 'wzuser', 'action' => 'add'));
https://book.cakephp.org/2.0/en/development/routing.html