From 0c9b45d210a5d94b3ba219e32b73233a5a795f61 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 27 Oct 2014 23:16:15 +0100 Subject: Download note as XML and JSON --- appinfo/application.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'appinfo/application.php') diff --git a/appinfo/application.php b/appinfo/application.php index 66ed557..7761eb5 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -56,6 +56,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) { -- cgit v1.2.3