diff --git a/cake/libs/router.php b/cake/libs/router.php index 3b317bf49..4d890e8e9 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -106,6 +106,11 @@ class Router extends Object { } } + if (!empty($default) && !isset($default['action'])) + { + $default['action'] = 'index'; + } + $r = null; if (($route == '') || ($route == '/')) { $regexp = '/^[\/]*$/';