dx_auth renaming controllers - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: dx_auth renaming controllers (/showthread.php?tid=18214) |
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 |