CodeIgniter Forums
dx_auth renaming controllers - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: dx_auth renaming controllers (/thread-18214.html)



dx_auth renaming controllers - El Forum - 04-29-2009

[eluser]september28[/eluser]
Hi there,

I was just wondering... It seems more sensible to me to call the auth controller "user" instead. therefore, instead of being /auth/login, it would be /user/login

The question i have is.. should I go through and change instances of auth in the appropiate files OR do I do something with the routes.php file so that calls to user/login are redirected?

I dont know how this second one works when i will have other user urls that aren't involved in auth e.g. /user/profile/september28 (where september28 is the username)

Any thoughts?

Cheers,

Dan