Merge remote-tracking branch 'guilhermeblanco/patch-1'
authorEvan Coury <me@evancoury.com>
Sat, 10 Dec 2011 05:28:19 +0000 (22:28 -0700)
committerEvan Coury <me@evancoury.com>
Sat, 10 Dec 2011 05:28:19 +0000 (22:28 -0700)
module/Application/src/Application/View/Listener.php

index 71ea50b..ac4c4b7 100644 (file)
@@ -40,8 +40,8 @@ class Listener implements ListenerAggregate
     public function attach(EventCollection $events)
     {
         $this->listeners[] = $events->attach('dispatch.error', array($this, 'renderError'));
-        $this->listeners[] = $events->attach('dispatch', array($this, 'render404'), -80);
-        $this->listeners[] = $events->attach('dispatch', array($this, 'renderLayout'), -1000);
+        $this->listeners[] = $events->attach('dispatch', array($this, 'render404'), -1000);
+        $this->listeners[] = $events->attach('dispatch', array($this, 'renderLayout'), -80);
     }
 
     public function detach(EventCollection $events)