Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to overriding Application routes names ? #120

Open
prdpspkt opened this issue May 17, 2018 · 3 comments
Open

How to overriding Application routes names ? #120

prdpspkt opened this issue May 17, 2018 · 3 comments

Comments

@prdpspkt
Copy link

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

@prashants
Copy link
Owner

@prdpspkt
Copy link
Author

I'm totally new to CakePHP and I tried but couldtn't manage. Please help me showing an example. You would be greatly appreciated.

@prashants
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants