Rajout du contrôleur Galerie/View
[zf2.biz/galerie.git] / module / Galerie / src / Galerie / Controller / IndexController.php
index 0d7be64..536c332 100644 (file)
@@ -50,6 +50,10 @@ class IndexController extends AbstractActionController
 
     public function viewAction() 
     { 
-        return array(); 
+        return new ViewModel(array(
+            'galerie' => $this->_getGalerieInfoTable()->one(
+                1
+            ),
+        )); 
     } 
 }