Keep app.php for menu

This commit is contained in:
Julius Haertl
2016-08-16 19:17:07 +02:00
parent 79e95d4286
commit 2d0d6dd36f
2 changed files with 44 additions and 12 deletions

View File

@@ -45,16 +45,5 @@ class Application extends App {
$container->registerMiddleware('SharingMiddleware');
$container->query('OCP\INavigationManager')->add(function () use ($container) {
$urlGenerator = $container->query('OCP\IURLGenerator');
$l10n = $container->query('OCP\IL10N');
return [
'id' => 'deck',
'order' => 10,
'href' => $urlGenerator->linkToRoute('deck.page.index'),
'icon' => $urlGenerator->imagePath('deck', 'app.svg'),
'name' => $l10n->t('Deck'),
];
});
}
}
}