Browse Source

Navigation header : correctif url absolute

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
15bd6a158b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      common/views/nav_user_top.php

+ 3
- 3
common/views/nav_user_top.php View File

@@ -83,18 +83,18 @@ if ($userManager->isCurrentProducer()) {
$itemsUserArray = [
[
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil',
'url' => $this->getUrlManagerFrontend()->createUrl(['site/index']),
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/index']),
]
];
}

$itemsUserArray[] = [
'label' => '<span class="glyphicon glyphicon-user"></span> Mon profil',
'url' => $this->getUrlManagerFrontend()->createUrl(['user/update']),
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['user/update']),
];
$itemsUserArray[] = [
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion',
'url' => $this->getUrlManagerFrontend()->createUrl(['site/logout']),
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/logout']),
];

$itemUser = [

Loading…
Cancel
Save