Browse Source

Remove uneeded assignement

ADmad 10 years ago
parent
commit
e231709584
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Controller/Controller.php

+ 2 - 2
src/Controller/Controller.php

@@ -594,8 +594,8 @@ class Controller implements EventListenerInterface, EventDispatcherInterface
             $builder->template($this->request->params['action']);
         }
 
-        $this->View = $this->_view = $this->createView();
-        $this->response->body($this->_view->render($view, $layout));
+        $this->View = $this->createView();
+        $this->response->body($this->View->render($view, $layout));
         return $this->response;
     }