Welcome Guest, Not a member yet? Register   Sign In
Routes and RegEx
#2

It won't trigger index(). It will look for a matching function before using that specific route.
I got the following, and I can still use folder/create, folder/update etc.
PHP Code:
$route['folder/(:any)']             = 'folder/index/$1'
Reply


Messages In This Thread
Routes and RegEx - by Wouter60 - 09-01-2018, 12:41 AM
RE: Routes and RegEx - by jreklund - 09-01-2018, 01:25 AM
RE: Routes and RegEx - by Wouter60 - 09-01-2018, 08:30 AM
RE: Routes and RegEx - by jreklund - 09-01-2018, 09:25 AM
RE: Routes and RegEx - by Wouter60 - 09-01-2018, 02:29 PM
RE: Routes and RegEx - by jreklund - 09-01-2018, 03:56 PM
RE: Routes and RegEx - by Wouter60 - 09-01-2018, 11:25 PM
RE: Routes and RegEx - by ignitedcms - 09-10-2018, 09:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB