summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Controller/PageController.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index 26599708..e52dfbcd 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -27,8 +27,9 @@ use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IInitialStateService;
use OCP\IConfig;
-use OCP\L10N\IFactory;
use OCP\IRequest;
+use OCP\L10N\IFactory;
+use OCP\Util;
class PageController extends Controller {
@@ -68,6 +69,10 @@ class PageController extends Controller {
$this->initialStateService->provideInitialState($this->appName, 'locales', $locales);
$this->initialStateService->provideInitialState($this->appName, 'defaultProfile', $defaultProfile);
+
+ Util::addScript($this->appName, 'contacts');
+ Util::addStyle($this->appName, 'contacts');
+
return new TemplateResponse($this->appName, 'main');
}
}