Skip to content

Commit

Permalink
Fix busted controller map iteration.
Browse files Browse the repository at this point in the history
  • Loading branch information
trq committed Nov 14, 2012
1 parent 10cc24d commit 3a9667b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Proem/Dispatch/Standard.php
Expand Up @@ -254,7 +254,7 @@ public function setActionMap($mapping)
*/ */
public function isDispatchable() public function isDispatchable()
{ {
foreach (array_reverse($this->controllerMaps) as $map) { foreach ($this->controllerMaps as $map) {
$this->class = str_replace( $this->class = str_replace(
[self::MODULE_PLACEHOLDER, self::CONTROLLER_PLACEHOLDER], [self::MODULE_PLACEHOLDER, self::CONTROLLER_PLACEHOLDER],
[$this->module, $this->controller], [$this->module, $this->controller],
Expand Down

0 comments on commit 3a9667b

Please sign in to comment.