Permalink
Browse files

Removing unnecessary key.

  • Loading branch information...
markstory committed Dec 17, 2009
1 parent 9a4e78a commit 264cdb78c06283282d568dfe3ba4a1579ee77e41
Showing with 1 addition and 2 deletions.
  1. +0 −1 cake/libs/router.php
  2. +1 −1 cake/tests/cases/libs/router.test.php
View
@@ -427,7 +427,6 @@ function parse($url) {
$out = array(
'pass' => array(),
'named' => array(),
- 'controller' => null,
);
$r = $ext = null;
@@ -516,7 +516,7 @@ function testUrlGenerationWithRegexQualifiedParams() {
));
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);
}

0 comments on commit 264cdb7

Please sign in to comment.