routing.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. admin_dashboard:
  2. pattern: /{_locale}/administration/
  3. defaults:
  4. _controller: FrameworkBundle:Redirect:redirect
  5. route: sonata_admin_dashboard
  6. permanent: true # this for 301
  7. admin_without_locale:
  8. pattern: /administration
  9. defaults:
  10. _controller: FrameworkBundle:Redirect:redirect
  11. route: sonata_admin_dashboard
  12. permanent: true # this for 301
  13. admin_dashboard_without_locale:
  14. pattern: /administration/dashboard
  15. defaults:
  16. _controller: FrameworkBundle:Redirect:redirect
  17. route: sonata_admin_dashboard
  18. permanent: true
  19. admin:
  20. resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
  21. prefix: /{_locale}/administration
  22. #hwi_oauth_redirect:
  23. # resource: "@HWIOAuthBundle/Resources/config/routing/redirect.xml"
  24. # prefix: /connect
  25. #
  26. #hwi_oauth_login:
  27. # resource: "@HWIOAuthBundle/Resources/config/routing/login.xml"
  28. # prefix: /login
  29. logout:
  30. path: /logout
  31. sonata_user_admin_security_logout:
  32. path: /logout
  33. chamilo_course:
  34. resource: "@ChamiloCourseBundle/Resources/config/routing.yml"
  35. prefix: /
  36. chamilo_contact:
  37. resource: "@ChamiloContactBundle/Resources/config/routing.yml"
  38. prefix: /contact
  39. _courses:
  40. resource: routing_courses.yml
  41. _front:
  42. resource: routing_front.yml
  43. _admin:
  44. resource: routing_admin.yml
  45. prefix: /administration
  46. #_api:
  47. # resource: routing_api.yml
  48. # prefix: /api
  49. elfinder:
  50. resource: "@FMElfinderBundle/Resources/config/routing.yml"
  51. chamilo_installer:
  52. resource: "@ChamiloInstallerBundle/Resources/config/routing.yml"
  53. # Always at the end
  54. core_bundle:
  55. resource: "@ChamiloCoreBundle/Resources/config/routing.yml"
  56. liip_theme:
  57. resource: "@LiipThemeBundle/Resources/config/routing.xml"
  58. prefix: /theme
  59. # app/config/routing.yml
  60. fos_js_routing:
  61. resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
  62. faq:
  63. resource: "@ChamiloFaqBundle/Resources/config/routing.yml"