diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2014-10-27 23:16:15 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2014-10-27 23:16:15 +0100 |
| commit | 0c9b45d210a5d94b3ba219e32b73233a5a795f61 (patch) | |
| tree | b49b11b52c475e04405486775837cdbe24a54a10 /appinfo/application.php | |
| parent | 46a9ff9889466f23c310e2de100d0ae16c5a2a1a (diff) | |
| download | grauphel-0c9b45d210a5d94b3ba219e32b73233a5a795f61.tar.gz grauphel-0c9b45d210a5d94b3ba219e32b73233a5a795f61.zip | |
Download note as XML and JSON
Diffstat (limited to 'appinfo/application.php')
| -rw-r--r-- | appinfo/application.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/appinfo/application.php b/appinfo/application.php index 66ed557..7761eb5 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -57,6 +57,16 @@ class Application extends App } ); $container->registerService( + 'NotesController', + function($c) { + return new \OCA\Grauphel\Controller\NotesController( + $c->query('AppName'), + $c->query('Request'), + $c->query('Session')->getUser() + ); + } + ); + $container->registerService( 'TokenController', function($c) { Dependencies::get()->urlGen |
