Fixed ActionController name.
[zf2.biz/galerie.git] / module / Application / src / Application / Controller / IndexController.php
index 8c1f5e1..1c547c5 100644 (file)
@@ -2,12 +2,13 @@
 
 namespace Application\Controller;
 
-use Zend\Mvc\Controller\ActionController;
+use Zend\Mvc\Controller\AbstractActionController;
+use Zend\View\Model\ViewModel;
 
-class IndexController extends ActionController
+class IndexController extends AbstractActionController
 {
     public function indexAction()
     {
-        return array();
+        return new ViewModel();
     }
 }