Let\'s say that I have a controller named
pages
and there is a method
slug_on_the_fly
public functi
This can help you
$route['controllerName/(:any)] = "controllename/method/slug";