aboutsummaryrefslogtreecommitdiff
path: root/appinfo/application.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-10-07 07:51:07 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-10-07 07:51:07 +0200
commitace226e665fa77d04a61dfd61818f6cce5df6861 (patch)
tree1008ad783d7e94249cf4b4103e41ecdf25ba2591 /appinfo/application.php
parentb77c4b6b2de74543d9543139a1d2b3c4fe2f592f (diff)
downloadgrauphel-ace226e665fa77d04a61dfd61818f6cce5df6861.tar.gz
grauphel-ace226e665fa77d04a61dfd61818f6cce5df6861.zip
Deleting tokens works (without confirmation)
Diffstat (limited to 'appinfo/application.php')
-rw-r--r--appinfo/application.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/application.php b/appinfo/application.php
index 20325de..66ed557 100644
--- a/appinfo/application.php
+++ b/appinfo/application.php
@@ -59,6 +59,8 @@ class Application extends App
$container->registerService(
'TokenController',
function($c) {
+ Dependencies::get()->urlGen
+ = $c->query('ServerContainer')->getURLGenerator();
return new \OCA\Grauphel\Controller\TokenController(
$c->query('AppName'),
$c->query('Request'),