меню фронтенд
This commit is contained in:
parent
2ff6ed6414
commit
6037c69b85
@ -8,6 +8,7 @@ $params = array_merge(
|
||||
|
||||
return [
|
||||
'id' => 'app-frontend',
|
||||
'name' => 'Guild',
|
||||
'basePath' => dirname(__DIR__),
|
||||
'bootstrap' => ['log'],
|
||||
'controllerNamespace' => 'frontend\controllers',
|
||||
|
@ -38,9 +38,7 @@ AppAsset::register($this);
|
||||
],
|
||||
]);
|
||||
$menuItems = [
|
||||
['label' => 'Home', 'url' => ['/site/index']],
|
||||
['label' => 'About', 'url' => ['/site/about']],
|
||||
['label' => 'Contact', 'url' => ['/site/contact']],
|
||||
['label' => 'Главная', 'url' => ['/site/index']],
|
||||
];
|
||||
if (Yii::$app->user->isGuest) {
|
||||
$menuItems[] = ['label' => 'Signup', 'url' => ['/site/signup']];
|
||||
|
Loading…
Reference in New Issue
Block a user