Commit 854bf105 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

global

parent a51d9a92
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
<?php

use UnicaenEtat\Controller\EtatTypeController;
use UnicaenPrivilege\Guard\PrivilegeController;

return [
'navigation' => [
        'default' => [
            'home' => [
                'pages' => [
                    'administration' => [
                        'pages' => [
                            'unicaen-etat' => [
                                'label' => 'État',
                                'route' => 'unicaen-etat/etat-type',
                                'resource' => PrivilegeController::getResourceId(EtatTypeController::class, 'index'),
                                'order'    => 5000,
                                'icon' => 'fas fa-angle-right',
                                'pages' => [
                                ],
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
];

?>
 No newline at end of file
+0 −22
Original line number Diff line number Diff line
@@ -47,28 +47,6 @@ return [
        ],
    ],

    'navigation' => [
        'default' => [
            'home' => [
                'pages' => [
                    'administration' => [
                        'pages' => [
                            'unicaen-etat' => [
                                'label' => 'État',
                                'route' => 'unicaen-etat/etat-type',
                                'resource' => PrivilegeController::getResourceId(EtatTypeController::class, 'index'),
                                'order'    => 5000,
                                'icon' => 'fas fa-angle-right',
                                'pages' => [
                                ],
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],

    'view_manager'    => [
        'template_path_stack' => [
            __DIR__ . '/../view',