Welcome Guest, Not a member yet? Register   Sign In
How to differentiate between controller files/controller methods/ and controller parameters in a url.
#12

[eluser]lanzd[/eluser]
Thank you, It took a little playing around with until I got it.

The ultimate line I needed to accomplish this (for anyone reading this in the future) was this line:

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

I put it after these two lines in "mywebsite.com/application/config/routes.php"

Code:
$route['default_controller'] = "welcome";
$route['404_override'] = '';

I will also create custom pages for 'default_controller' and '404_override', I'm just still developing.

Thank you all again!


Messages In This Thread
How to differentiate between controller files/controller methods/ and controller parameters in a url. - by El Forum - 03-06-2012, 03:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB