git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release 0.6.7
[grauphel.git]
/
appinfo
/
application.php
diff --git
a/appinfo/application.php
b/appinfo/application.php
index 20325dec1f64001809b57c831ced55e3a1640161..7761eb5a90db76672bd99eb694dcf1c2ea1b9d51 100644
(file)
--- a/
appinfo/application.php
+++ b/
appinfo/application.php
@@
-56,9
+56,21
@@
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) {
$container->registerService(
'TokenController',
function($c) {
+ Dependencies::get()->urlGen
+ = $c->query('ServerContainer')->getURLGenerator();
return new \OCA\Grauphel\Controller\TokenController(
$c->query('AppName'),
$c->query('Request'),
return new \OCA\Grauphel\Controller\TokenController(
$c->query('AppName'),
$c->query('Request'),