routing.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #index:
  2. # path: /
  3. # defaults: { _controller: 'App\Controller\DefaultController::index' }
  4. # Depends on sensio/framework-extra-bundle, doctrine/annotations, and doctrine/cache
  5. # install with composer req sensio/framework-extra-bundle annot
  6. #controllers:
  7. # resource: ../src/Controller/
  8. # type: annotation
  9. logout:
  10. path: /administration/logout
  11. sonata_user_admin_security_logout:
  12. path: /administration/logout
  13. _admin:
  14. resource: routing/sonata_admin.yaml
  15. prefix: /administration
  16. #index:
  17. # path: /
  18. #admin_dashboard:
  19. # pattern: /administration/
  20. # defaults:
  21. # _controller: FrameworkBundle:Redirect:redirect
  22. # route: sonata_admin_dashboard
  23. # permanent: true # this for 301
  24. #admin_without_locale:
  25. # pattern: /administration
  26. # defaults:
  27. # _controller: FrameworkBundle:Redirect:redirect
  28. # route: sonata_admin_dashboard
  29. # permanent: true # this for 301
  30. #admin_dashboard_without_locale:
  31. # pattern: /administration/dashboard
  32. # defaults:
  33. # _controller: FrameworkBundle:Redirect:redirect
  34. # route: sonata_admin_dashboard
  35. # permanent: true
  36. #_api:
  37. # resource: routing_api.yml
  38. # prefix: /api
  39. #liip_theme:
  40. # resource: "@LiipThemeBundle/Resources/config/routing.xml"
  41. # prefix: /theme
  42. #app_settings:
  43. # resource: |
  44. # alias: app.settings
  45. # type: sylius.resource_api