I'd like some help please.
I have set up some routes like this:
$route['controller/some-method/(:any)'] = 'controller/some_method/$1';
I was wondering if it is a more efficient way of doing this, instead of typing all of my routes one at the time, like creating a single route where all the controller or method names that have underscores make them dashes.
So basically what I want is to set all my urls to have dashes instead of underscores.