From cd68a53beebbf5d5718e088bb27e423a38681193 Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Mon, 18 Jan 2021 15:37:29 +0900 Subject: Fix notice when accessing HTML or XML version of a note. --- appinfo/application.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'appinfo/application.php') 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'), -- cgit v1.2.3