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

Menu

parent b1bf066c
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -78,26 +78,6 @@ return [
        ],
    ],

    'navigation' => [
        'default' => [
            'home' => [
                'pages' => [
                    'administration' => [
                        'pages' => [
                            'observation' => [
                                'label' => "Observations",
                                'route' => 'observation/otype',
                                'resource' => PrivilegeController::getResourceId(ObservationTypeController::class, 'index'),
                                'order' => 1000,
                                'icon' => 'fas fa-angle-right',
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],

    'router' => [
        'routes' => [
            'observation' => [
+28 −0
Original line number Diff line number Diff line
<?php

namespace UnicaenObservation;

use UnicaenObservation\Controller\ObservationTypeController;
use UnicaenPrivilege\Guard\PrivilegeController;

return [
    'navigation' => [
        'default' => [
            'home' => [
                'pages' => [
                    'administration' => [
                        'pages' => [
                            'observation' => [
                                'label' => "Observations",
                                'route' => 'observation/otype',
                                'resource' => PrivilegeController::getResourceId(ObservationTypeController::class, 'index'),
                                'order' => 1000,
                                'icon' => 'fas fa-angle-right',
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
];