Commit: de0565887658181cbaef3d65f9f7a594c50d0f13

Author: Ali Farhadi | Date: 2010-08-21 22:33:15 +0430
Correcting default base path route.
diff --git a/app/config/routes.php b/app/config/routes.php index 07baa42..3f8d926 100644 --- a/app/config/routes.php +++ b/app/config/routes.php @@ -20,7 +20,7 @@ use \lithium\core\Environment; * its action called 'view', and we pass a param to select the view file * to use (in this case, /app/views/pages/home.html.php)... */ -Router::connect('/', array('controller' => 'pages', 'action' => 'view', 'home')); +Router::connect('/', array('controller' => 'pages', 'action' => 'view', 'args' => array('home'))); /** * ...and connect the rest of 'Pages' controller's urls.