cakephp/cakephp — pull request #1531 by joostdekeijzer (2013-08-15 15:37:52+00:00)
Title: RedirectRoute with persist and custom route elements doesn't work as expected

Custom router element values such as `'/:lang/rest-of-url'` are not 'copied' to the redirect url when using the `persist` option. See the test-cases.

Here, the value of `persist` must be an array containing element names.