cakephp2-php8/lib/Cake/Console/Templates/default/actions
Marc Würth 4a37ad5637 Added return before redirects
As recommended by the Cookbook:
http://book.cakephp.org/2.0/en/development/testing.html#testing-controllers

> When testing actions that contain redirect() and other code following the redirect it is generally a good idea to return when redirecting. The reason for this, is that redirect() is mocked in testing, and does not exit like normal. And instead of your code exiting, it will continue to run code following the redirect.
2013-07-28 23:44:07 +02:00
..
controller_actions.ctp Added return before redirects 2013-07-28 23:44:07 +02:00