diff options
| author | Michael Werle <micha@michaelwerle.com> | 2021-01-18 15:37:29 +0900 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2021-01-18 09:13:21 +0100 |
| commit | cd68a53beebbf5d5718e088bb27e423a38681193 (patch) | |
| tree | 7ce63f45bb01ee618747b67571a151ae93a8cdaf /appinfo/application.php | |
| parent | 7c515100fb6bda6255d05ebd58d5a1dbafd03198 (diff) | |
| download | grauphel-cd68a53beebbf5d5718e088bb27e423a38681193.tar.gz grauphel-cd68a53beebbf5d5718e088bb27e423a38681193.zip | |
Fix notice when accessing HTML or XML version of a note.
Diffstat (limited to 'appinfo/application.php')
| -rw-r--r-- | appinfo/application.php | 2 |
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'), |
