Botanic release

This commit is contained in:
Ludovic CANDELLIER
2020-04-21 19:52:11 +02:00
parent 4ad1f18310
commit e370174f94
10 changed files with 23 additions and 23 deletions

View File

@@ -9,18 +9,18 @@ class Botanic
{
public function make(Builder $menu)
{
$menu->add('Botanique', [ 'permission' => 'backend', 'icon' => 'envira' ])
$menu->add('Botanique', [ 'permission' => 'backend', 'icon' => 'leaf' ])
->id('botanic')
->activeIfRoute('botanic')
->order(2);
$menu->addTo('Botanic', 'Familles', [ 'route' => 'Botanic.Admin.Families.index', 'permission' => 'backend' ])
$menu->addTo('botanic', 'Familles', [ 'route' => 'Botanic.Admin.Families.index', 'permission' => 'backend' ])
->activeIfRoute(['Botanic.Admin.Families.index'])->order(1);
$menu->addTo('Botanic', 'Genres', [ 'route' => 'Botanic.Admin.Genres.index', 'permission' => 'backend' ])
$menu->addTo('botanic', 'Genres', [ 'route' => 'Botanic.Admin.Genres.index', 'permission' => 'backend' ])
->activeIfRoute(['Botanic.Admin.Genres.index'])->order(2);
$menu->addTo('Botanic', 'Espèces', [ 'route' => 'Botanic.Admin.Species.index', 'permission' => 'backend' ])
$menu->addTo('botanic', 'Espèces', [ 'route' => 'Botanic.Admin.Species.index', 'permission' => 'backend' ])
->activeIfRoute(['Botanic.Admin.Species.index'])->order(3);
$menu->addTo('Botanic', 'Variétés', [ 'route' => 'Botanic.Admin.Varieties.index', 'permission' => 'backend' ])
$menu->addTo('botanic', 'Variétés', [ 'route' => 'Botanic.Admin.Varieties.index', 'permission' => 'backend' ])
->activeIfRoute(['Botanic.Admin.Varieties.index'])->order(4);
}