Changed Router tests to use static method calls to reflect actual usage in applications. Fixed the __resourceMapped call in Router::mapResources and added tests to prove it is assigned correctly. Fixes #4530

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6716 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
joelmoss 2008-04-24 13:41:11 +00:00
parent 2ca68ab3a8
commit f9ea98e746
2 changed files with 382 additions and 372 deletions

View file

@ -272,7 +272,7 @@ class Router extends Object {
array('id' => $options['id'], 'pass' => array('id')) array('id' => $options['id'], 'pass' => array('id'))
); );
} }
$this->__resourceMapped[] = $urlName; $_this->__resourceMapped[] = $urlName;
} }
} }
/** /**

File diff suppressed because it is too large Load diff