add Admin menu

This commit is contained in:
2013-12-07 13:28:41 +01:00
parent 2476d2f143
commit f0676b99d0
3 changed files with 12 additions and 1 deletions

View File

@@ -32,6 +32,13 @@ class MenuComposer {
if ($route->getOption('menu') === $menuId) {
$a['route'] = $key;
$a['label'] = $route->getOption('label');
if ($route->hasOption('helper')) {
$a['helper'] = $route->getOption('helper');
} else {
$a['helper'] = '';
}
$routes[$route->getOption('order')] = $a;
}
}