mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
2ca68ab3a8
commit
f9ea98e746
2 changed files with 382 additions and 372 deletions
|
@ -272,7 +272,7 @@ class Router extends Object {
|
|||
array('id' => $options['id'], 'pass' => array('id'))
|
||||
);
|
||||
}
|
||||
$this->__resourceMapped[] = $urlName;
|
||||
$_this->__resourceMapped[] = $urlName;
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue