summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-04-20 08:49:54 +0200
committerGitHub <noreply@github.com>2020-04-20 08:49:54 +0200
commit75d730777b6e1081c453a279ab2a1a92fe916cae (patch)
tree2cf1d4568647217d34fa83bcfbd2a64b67ca31c9 /lib
parentc32d77bba66d634dae9b7f076c592fd32899c3d4 (diff)
Update PageController.php
Diffstat (limited to 'lib')
-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');
}
}