Routing Problem

  • Hello guys, Why do not menus look?




  • Hi,


    first of all - as you do not get a routing-error, the problem seems to be something with the attachment of menus to the correct routes.


    I mentioned that you don't have any routes configured in index.php:


  • Routing hasn't problem

    Code
    1. 'routes' => [
    2. '/calendar' => [
    3. 'name' => '@calendar',
    4. 'controller' => 'Pastheme\\Calendar\\Controller\\AdminController'
    5. ],
    6. '/api/calendar' => [
    7. 'name' => '@api/calendar',
    8. 'controller' => 'Pastheme\\Calendar\\Controller\\ApiController'
    9. ]
    10. ],