cakephp/cakephp — pull request #5114 by markstory (2014-11-08 19:54:15+00:00)
Title: Fix routing extensions leaking out of their scopes.

Each route builder should not leak extensions into other scopes. When defining extensions in one route builder, they should not automatically be available in other scopes. What we want to avoid is a plugin like DebugKit adding `.json` extensions to all the application routes.

Refs #5089