cakephp/cakephp — comment on commit b14072aa6fa2a7627cd9795aedc837bf0612c182
File: lib/Cake/Routing/Router.php line 168
By tigrang:

+1 for that, simple to do. I can add a pull request and if you guys can decide if you want it. I guess it also stops for setting $_routeClass to null. Also with this option now I think we also need to check if the class is a sublcass of CakeRoute and throw an exception as currently its only done if $options['routeClass'] is set.