Results 1 to 3 of 3
Thread: url routes?
Aug 10, 2012, 06:07 #1
- Join Date
- Apr 2012
- 0 Post(s)
- 0 Thread(s)
I'm trying to implement URL routing into my web app but struggling, i've followed the mvc structure so urls are /controller/class
i want to be able to change '/profile/edit_profile' to '/edit-profile'.
I've done something similar in CodeIgniter in routes.php i would add
$route['edit-profile'] = 'profile/edit_profile';
but can't think of the logical way to code this