Welcome Guest, Not a member yet? Register   Sign In
Using (:any) in routes
#5

[eluser]jabbett[/eluser]
Just noticed I wasn't using parentheses around my :any.

Code:
$route['controller/(:any)'] = "controller/index/$1";

...does the trick!


Messages In This Thread
Using (:any) in routes - by El Forum - 05-31-2010, 02:22 AM
Using (:any) in routes - by El Forum - 05-31-2010, 02:31 PM
Using (:any) in routes - by El Forum - 06-01-2010, 12:33 AM
Using (:any) in routes - by El Forum - 08-09-2010, 07:50 PM
Using (:any) in routes - by El Forum - 08-09-2010, 07:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB