From 264cdb78c06283282d568dfe3ba4a1579ee77e41 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Thu, 17 Dec 2009 10:13:05 -0500 Subject: [PATCH] Removing unnecessary key. --- cake/libs/router.php | 1 - cake/tests/cases/libs/router.test.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cake/libs/router.php b/cake/libs/router.php index 8f307614d..61b5b2a77 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -427,7 +427,6 @@ class Router { $out = array( 'pass' => array(), 'named' => array(), - 'controller' => null, ); $r = $ext = null; diff --git a/cake/tests/cases/libs/router.test.php b/cake/tests/cases/libs/router.test.php index 26786b3ae..d6a18a59c 100644 --- a/cake/tests/cases/libs/router.test.php +++ b/cake/tests/cases/libs/router.test.php @@ -516,7 +516,7 @@ class RouterTest extends CakeTestCase { )); Router::defaults(false); $result = Router::parse('/foo/bar'); - $expected = array('pass' => array(), 'named' => array(), 'controller' => null); + $expected = array('pass' => array(), 'named' => array()); $this->assertEqual($result, $expected); }