prashants / webzash

Easy to use web based double entry accounting software in PHP - MySQL under MIT License

Home Page:http://webzash.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to overriding Application routes names ?

prdpspkt opened this issue · comments

How do I override routes name to my desired name.
In http://localhost/wzusers for wzusers I want to use users only.

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