From 4101388069493e4d02f2a4e1c60bfe3c76689793 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Mon, 18 Jul 2011 21:33:14 -0400 Subject: [PATCH] Syncing skel directory with app/Config. --- .../Console/Templates/skel/Config/routes.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Console/Templates/skel/Config/routes.php b/lib/Cake/Console/Templates/skel/Config/routes.php index f2a360bf4..0a7a011b8 100644 --- a/lib/Cake/Console/Templates/skel/Config/routes.php +++ b/lib/Cake/Console/Templates/skel/Config/routes.php @@ -1,6 +1,6 @@ 'pages', 'action' => 'display', 'home')); - /** * ...and connect the rest of 'Pages' controller's urls. */ Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display')); + +/** + * Load all plugin routes. See the CakePlugin documentation on + * how to customize the loading of plugin routes. + */ + CakePlugin::routes(); + +/** + * Load the CakePHP default routes. Remove this if you do not want to use + * the built-in default routes. + */ + require CAKE . 'Config' . DS . 'routes.php';