routing.yml 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Internal routing configuration to handle ESI
  2. #_internal:
  3. # resource: "@FrameworkBundle/Resources/config/routing/internal.xml"
  4. # prefix: /_internal
  5. admin:
  6. resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
  7. prefix: /admin
  8. _sonata_admin:
  9. resource: .
  10. type: sonata_admin
  11. prefix: /admin
  12. MuzichIndexBundle:
  13. resource: "@MuzichIndexBundle/Resources/config/routing.yml"
  14. prefix: /
  15. change_language:
  16. pattern: /change-language/{language}/{redirect}
  17. defaults: { _controller: MuzichCoreBundle:Core:changeLanguage, redirect: referer }
  18. MuzichCoreBundle:
  19. resource: "@MuzichCoreBundle/Resources/config/routing.yml"
  20. prefix: /{_locale}/
  21. defaults: { _locale: fr }
  22. MuzichHomeBundle:
  23. resource: "@MuzichHomeBundle/Resources/config/routing.yml"
  24. prefix: /
  25. MuzichUserBundle:
  26. resource: "@MuzichUserBundle/Resources/config/routing.yml"
  27. prefix: /{_locale}/
  28. defaults: { _locale: fr }
  29. MuzichMynetworkBundle:
  30. resource: "@MuzichMynetworkBundle/Resources/config/routing.yml"
  31. prefix: /{_locale}/
  32. defaults: { _locale: fr }
  33. MuzichGroupBundle:
  34. resource: "@MuzichGroupBundle/Resources/config/routing.yml"
  35. prefix: /{_locale}/
  36. defaults: { _locale: fr }