So I've got a mostly static site. My default controller handles most views in it's index
action, simply passing the $this->uri->segment(1)
through to my template.
$route['default_controller'] = 'master';
$route['(:any)'] = 'master';
$route['404_override'] = '';
But now I'm implementing a new controller that I would like to have default behavior. And I don't want to be sullying up my routes config with superfluous routes for every single action. So how can I say, route anything to the default master
controller except for NewController
, which you should handle normally.