cakephp/cakephp — pull request #2807 by sam-at-github (2014-02-10 14:54:58+00:00)
Title: Compile route before getName() to ensure same value is always returned. ...

Minor bug. The Route need to be compiled if want to avoid situation in which getName() returns a different value before and after the route is compiled.