Permalink
Browse files

Fix busted controller map iteration.

  • Loading branch information...
1 parent 10cc24d commit 3a9667bb6501e5247b8ec60b9a30b46477e67292 @trq trq committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Proem/Dispatch/Standard.php
@@ -254,7 +254,7 @@ public function setActionMap($mapping)
*/
public function isDispatchable()
{
- foreach (array_reverse($this->controllerMaps) as $map) {
+ foreach ($this->controllerMaps as $map) {
$this->class = str_replace(
[self::MODULE_PLACEHOLDER, self::CONTROLLER_PLACEHOLDER],
[$this->module, $this->controller],

0 comments on commit 3a9667b

Please sign in to comment.