mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 20:08:24 +00:00
4c0e06c451
Conflicts: cake/bootstrap.php cake/libs/view/helpers/js.php lib/Cake/Model/AclNode.php lib/Cake/Model/ConnectionManager.php lib/Cake/bootstrap.php lib/Cake/tests/cases/libs/controller/controller.test.php
25 lines
No EOL
880 B
PHP
25 lines
No EOL
880 B
PHP
<?php
|
|
/**
|
|
* Routes file
|
|
*
|
|
* Routes for test app
|
|
*
|
|
* PHP versions 4 and 5
|
|
*
|
|
* CakePHP : Rapid Development Framework (http://cakephp.org)
|
|
* Copyright 2006-2010, Cake Software Foundation, Inc.
|
|
*
|
|
* Licensed under The MIT License
|
|
* Redistributions of files must retain the above copyright notice.
|
|
*
|
|
* @copyright Copyright 2006-2010, Cake Software Foundation, Inc.
|
|
* @link http://cakephp.org CakePHP Project
|
|
* @package cake.tests.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'));
|
|
Router::redirect('/redirect_me_now', 'http://cakephp.org');
|
|
Router::redirect('/redirect_me', array('controller' => 'tests_apps', 'action' => 'some_method')); |