Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Controller maps are now processed FIFO.

  • Loading branch information...
commit ccb6d0134b01a6007e73c49517fb04644e0d1e5f 1 parent 787bae7
@trq trq authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Proem/Dispatch/Standard.php
View
2  lib/Proem/Dispatch/Standard.php
@@ -149,7 +149,7 @@ public function isDispatchable()
$this->controller = $this->payload->has('controller') ? ucfirst(strtolower($this->payload->get('controller'))) : '';
$this->action = $this->payload->has('action') ? $this->payload->get('action') : '';
- foreach ($this->controllerMaps as $map) {
+ foreach (array_reverse($this->controllerMaps) as $map) {
$this->class = str_replace(
[':module', ':controller'],
[$this->module, $this->controller],
Please sign in to comment.
Something went wrong with that request. Please try again.