cakephp/cakephp — pull request #737 by tigrang (2012-07-25 17:28:47+00:00)
Title: Fixed issue in _validateRouteClass where setting defaultRouteClass back ...

...to CakeRoute would throw an exception

Ex.

Router::defaultRouteClass('MyCustomRoute');
// add some routes
Router::defaultRotueClass('CakeRoute'); // threw an exception
// some more routes