Welcome Guest, Not a member yet? Register   Sign In
routing question
#2

[eluser]keevitaja[/eluser]
Code:
$route['(:any)'] = 'home/index/$1';
$route['user/urls'] = 'user/urls';
$route['user/urls/(:any)'] = 'user/urls/$1';

somehow the last routing is not working, while user/urls is working.

controller is user with method public function urls($offset = 0)

why can't i route this? or is there another way to do it? i need the first rule!


Messages In This Thread
routing question - by El Forum - 10-29-2011, 01:36 PM
routing question - by El Forum - 02-01-2012, 12:19 PM
routing question - by El Forum - 02-02-2012, 01:02 PM
routing question - by El Forum - 02-02-2012, 01:08 PM
routing question - by El Forum - 02-02-2012, 01:22 PM
routing question - by El Forum - 02-02-2012, 02:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB