mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-12-26 23:47:26 +00:00
b02155e766
RedirectRoute now has exit() in it. This makes hitting those routes in testing dangerous.
23 lines
722 B
PHP
23 lines
722 B
PHP
<?php
|
|
/**
|
|
* Routes file
|
|
*
|
|
* Routes for test app
|
|
*
|
|
* PHP versions 4 and 5
|
|
*
|
|
* CakePHP : Rapid Development Framework (http://cakephp.org)
|
|
* Copyright 2005-2011, Cake Software Foundation, Inc.
|
|
*
|
|
* Licensed under The MIT License
|
|
* Redistributions of files must retain the above copyright notice.
|
|
*
|
|
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc.
|
|
* @link http://cakephp.org CakePHP Project
|
|
* @package Cake.Test.test_app.Config
|
|
* @since CakePHP v 2.0
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
|
*/
|
|
|
|
Router::parseExtensions('json');
|
|
Router::connect('/some_alias', array('controller' => 'tests_apps', 'action' => 'some_method'));
|