Welcome Guest, Not a member yet? Register   Sign In
Removing the method name from urls
#4

[eluser]Rok Biderman[/eluser]
Well, that is doable with routes like this
Code:
$route['member/index'] = "members/index";
$route['member/(:any)'] = "members/member/$1";
but it raises the question (one that Basketcasesoftware asked as well) - why did you construct your application in a way that needs member method erased, but you can't put it in a index function? Bad carma, imho.


Messages In This Thread
Removing the method name from urls - by El Forum - 02-20-2011, 11:17 PM
Removing the method name from urls - by El Forum - 02-21-2011, 12:27 AM
Removing the method name from urls - by El Forum - 02-21-2011, 12:33 AM
Removing the method name from urls - by El Forum - 02-21-2011, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB