Skip to content
Permalink
Browse files

Add missing template.

  • Loading branch information...
markstory committed Jul 4, 2014
1 parent c5eab69 commit d0e251f1ebba764ece9d5e6a38a3e54a8d1df2b7
Showing with 24 additions and 0 deletions.
  1. +24 −0 src/Console/Templates/default/config/routes.ctp
@@ -0,0 +1,24 @@
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @since 3.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
echo "<?php\n";
?>
namespace <?= $plugin ?>\Config;

use Cake\Routing\Router;

Router::plugin('<?= $plugin ?>', function($routes) {
$routes->connect('/:controller', ['action' => 'index']);
$routes->connect('/:controller/:action/*');
});

0 comments on commit d0e251f

Please sign in to comment.
You can’t perform that action at this time.