CodeIgniter Forums
dx_auth renaming controllers - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: dx_auth renaming controllers (/thread-18214.html)

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

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?