fix zip file name
[grauphel.git] / appinfo / application.php
index 69d15722c18f301f1ca2c66c455846507c1c0a7c..cc39ceb9d0f5837a746dc7db7237573076242746 100644 (file)
@@ -45,6 +45,17 @@ class Application extends App
                 );
             }
         );
+        $container->registerService(
+            'GuiController',
+            function($c) {
+                return new \OCA\Grauphel\Controller\GuiController(
+                    $c->query('AppName'),
+                    $c->query('Request'),
+                    $c->query('Session')->getUser(),
+                    $c->query('ServerContainer')->getURLGenerator()
+                );
+            }
+        );
     }
 }
 ?>