aboutsummaryrefslogtreecommitdiff
path: root/appinfo
diff options
context:
space:
mode:
authorMichael Werle <micha@michaelwerle.com>2021-01-18 15:37:29 +0900
committerChristian Weiske <cweiske@cweiske.de>2021-01-18 09:13:21 +0100
commitcd68a53beebbf5d5718e088bb27e423a38681193 (patch)
tree7ce63f45bb01ee618747b67571a151ae93a8cdaf /appinfo
parent7c515100fb6bda6255d05ebd58d5a1dbafd03198 (diff)
downloadgrauphel-cd68a53beebbf5d5718e088bb27e423a38681193.tar.gz
grauphel-cd68a53beebbf5d5718e088bb27e423a38681193.zip
Fix notice when accessing HTML or XML version of a note.
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/application.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/application.php b/appinfo/application.php
index 7761eb5..b4de970 100644
--- a/appinfo/application.php
+++ b/appinfo/application.php
@@ -59,6 +59,8 @@ class Application extends App
$container->registerService(
'NotesController',
function($c) {
+ Dependencies::get()->urlGen
+ = $c->query('ServerContainer')->getURLGenerator();
return new \OCA\Grauphel\Controller\NotesController(
$c->query('AppName'),
$c->query('Request'),