summaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-05-12 19:12:18 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-05-12 19:12:18 +0200
commit5fd43a240ffb8343f867386985e1cb2377f6df3c (patch)
tree6babe5b62e295030b7a9fd2e44fb04bdbcce984c /controller
parent3be2ad8a89a8b0626c38c0b9461a2e07286aa228 (diff)
also use occ to test for private api usage
Diffstat (limited to 'controller')
-rw-r--r--controller/pagecontroller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php
index 66471419a..09257ee3b 100644
--- a/controller/pagecontroller.php
+++ b/controller/pagecontroller.php
@@ -72,7 +72,8 @@ class PageController extends Controller {
public function index() {
$status = $this->statusService->getStatus();
$response = new TemplateResponse($this->appName, 'index', [
- 'cronWarning' => $status['warnings']['improperlyConfiguredCron']
+ 'cronWarning' => $status['warnings']['improperlyConfiguredCron'],
+ 'url_generator' => $this->urlGenerator
]);
$csp = new ContentSecurityPolicy();