class Controller_Users extends Controller_Session { public function action_profile($id = null) { //get a profile and view it } }
'users/(:segment)' => 'users/profile/$1',
bperin wrote on Wednesday 18th of April 2012:One sorta solution I found is the following routing rule'users/(:segment)' => 'users/profile/$1',
Jume wrote on Wednesday 18th of April 2012:bperin wrote on Wednesday 18th of April 2012:One sorta solution I found is the following routing rule'users/(:segment)' => 'users/profile/$1',
And what seems to be the problem with this kind of setup? I use it all the time for exactly the same purpose!
It looks like you're new here. If you want to get involved, click one of these buttons!