summaryrefslogtreecommitdiffstats
path: root/config/appconfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/appconfig.php')
-rw-r--r--config/appconfig.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/config/appconfig.php b/config/appconfig.php
index a206351d1..9b3f80a1d 100644
--- a/config/appconfig.php
+++ b/config/appconfig.php
@@ -99,15 +99,17 @@ class AppConfig {
$nav =& $this->config['navigation'];
$navConfig = [
- 'id' => $nav['id'],
+ 'id' => $this->config['id'],
'order' => $nav['order'],
'name' => $nav['name']
];
- $navConfig['href'] =
- $this->urlGenerator->linkToRoute($nav['route']);
- $navConfig['icon'] = $this->urlGenerator->imagePath($nav['id'],
- $nav['icon']);
+ $navConfig['href'] = $this->urlGenerator->linkToRoute(
+ $nav['route']
+ );
+ $navConfig['icon'] = $this->urlGenerator->imagePath(
+ $this->config['id'], $nav['icon']
+ );
$this->navigationManager->add($navConfig);
}