I'm thinking of adding an 'if' method to the RoutesCollection class.
It would work like this:
$routes->if(true,function($routes){
// blah...
});
....
Or restrict routes to logged in users(Myth:Auth)
$routes->if(logged_in(),function($routes){
});
A good idea?