s/location/locator, and update $di variable in Application's Module.php
authorEvan Coury <me@evancoury.com>
Thu, 22 Dec 2011 14:10:20 +0000 (07:10 -0700)
committerEvan Coury <me@evancoury.com>
Thu, 22 Dec 2011 14:10:20 +0000 (07:10 -0700)
module/Application/Module.php

index 6318f22..2f20670 100644 (file)
@@ -67,9 +67,9 @@ class Module implements AutoloaderProvider
             return $this->view;
         }
 
-        $location   = $app->getLocator();
-        $view       = $di->get('view');
-        $url        = $view->plugin('url');
+        $locator = $app->getLocator();
+        $view    = $locator->get('view');
+        $url     = $view->plugin('url');
         $url->setRouter($app->getRouter());
 
         $view->plugin('headTitle')->setSeparator(' - ')