From 885b506695403465443b3dce124910fd2c9f66e6 Mon Sep 17 00:00:00 2001 From: Alessandro Cosentino Date: Mon, 29 Sep 2014 13:45:17 -0400 Subject: web app manifest --- appinfo/application.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'appinfo/application.php') diff --git a/appinfo/application.php b/appinfo/application.php index eaeafc858..d80498a4a 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -29,6 +29,7 @@ use \OCA\News\Controller\UtilityApiController; use \OCA\News\Controller\FolderApiController; use \OCA\News\Controller\FeedApiController; use \OCA\News\Controller\ItemApiController; +use \OCA\News\Controller\AppController; use \OCA\News\Service\FolderService; use \OCA\News\Service\FeedService; @@ -169,6 +170,14 @@ class Application extends App { ); }); + $container->registerService('AppController', function($c) { + return new AppController( + $c->query('AppName'), + $c->query('Request'), + $c->query('ServerContainer')->getURLGenerator(), + $c->query('AppConfig') + ); + }); /** * Business Layer -- cgit v1.2.3