routing.yml 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. _security_check:
  2. pattern: /login_facebook_check
  3. _security_logout:
  4. pattern: /logout
  5. MuzichIndexBundle:
  6. resource: "@MuzichIndexBundle/Resources/config/routing.yml"
  7. prefix: /
  8. change_language:
  9. pattern: /change-language/{language}/{redirect}
  10. defaults: { _controller: MuzichCoreBundle:Core:changeLanguage, redirect: referer }
  11. language_automatic:
  12. pattern: /auto-language
  13. defaults: { _controller: MuzichCoreBundle:Core:automaticLanguage }
  14. share_form:
  15. pattern: /share-from/
  16. defaults: { _controller: MuzichCoreBundle:Core:shareFrom }
  17. MuzichCoreBundle:
  18. resource: "@MuzichCoreBundle/Resources/config/routing.yml"
  19. prefix: /{_locale}/
  20. requirements:
  21. _locale: fr|en
  22. MuzichHomeBundle:
  23. resource: "@MuzichHomeBundle/Resources/config/routing.yml"
  24. prefix: /{_locale}/
  25. requirements:
  26. _locale: fr|en
  27. # On doit rajouter une route au cas ou la langue n'est pas précisé.
  28. home_bis:
  29. pattern: /
  30. defaults: { _controller: MuzichHomeBundle:Home:index, network: network_public }
  31. MuzichUserBundle:
  32. resource: "@MuzichUserBundle/Resources/config/routing.yml"
  33. prefix: /{_locale}/
  34. requirements:
  35. _locale: fr|en
  36. MuzichMynetworkBundle:
  37. resource: "@MuzichMynetworkBundle/Resources/config/routing.yml"
  38. prefix: /{_locale}/
  39. requirements:
  40. _locale: fr|en
  41. MuzichGroupBundle:
  42. resource: "@MuzichGroupBundle/Resources/config/routing.yml"
  43. prefix: /{_locale}/
  44. requirements:
  45. _locale: fr|en
  46. MuzichFavoriteBundle:
  47. resource: "@MuzichFavoriteBundle/Resources/config/routing.yml"
  48. prefix: /{_locale}/
  49. requirements:
  50. _locale: fr|en
  51. MuzichCommentBundle:
  52. resource: "@MuzichCommentBundle/Resources/config/routing.yml"
  53. prefix: /{_locale}/
  54. requirements:
  55. _locale: fr|en
  56. AdmingeneratorDashboard_welcome:
  57. pattern: /admin/dashboard
  58. defaults: { _controller: MuzichAdminBundle:Dashboard:welcome }
  59. shtumi_useful:
  60. resource: '@ShtumiUsefulBundle/Resources/config/routing.xml'
  61. prefix: /system/search/
  62. ########## ADMIN
  63. MuzichAdminBundle:
  64. resource: "@MuzichAdminBundle/Resources/config/routing.yml"
  65. prefix: /admin/
  66. AdmingeneratorDashboard_welcome:
  67. pattern: /admin/dashboard
  68. defaults: { _controller: MuzichAdminBundle:Dashboard:welcome }
  69. MuzichAdminBundle_admin_muzich_admin_bundle_admin_element:
  70. resource: "@MuzichAdminBundle/Controller/Admin_element/"
  71. type: admingenerator
  72. prefix: /admin/muzich_admin_bundle/admin_element
  73. MuzichAdminBundle_admin_muzich_admin_bundle_admin_tag:
  74. resource: "@MuzichAdminBundle/Controller/Admin_tag/"
  75. type: admingenerator
  76. prefix: /admin/muzich_admin_bundle/admin_tag
  77. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_group:
  78. resource: "@MuzichAdminBundle/Controller/Admin_group/"
  79. type: admingenerator
  80. prefix: /admin/muzich_admin_bundle/Admin_group
  81. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_user:
  82. resource: "@MuzichAdminBundle/Controller/Admin_user/"
  83. type: admingenerator
  84. prefix: /admin/muzich_admin_bundle/Admin_user
  85. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_follow_user:
  86. resource: "@MuzichAdminBundle/Controller/Admin_follow_user/"
  87. type: admingenerator
  88. prefix: /admin/muzich_admin_bundle/Admin_follow_user
  89. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_follow_group:
  90. resource: "@MuzichAdminBundle/Controller/Admin_follow_group/"
  91. type: admingenerator
  92. prefix: /admin/muzich_admin_bundle/Admin_follow_group
  93. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_groups_tags_favorites:
  94. resource: "@MuzichAdminBundle/Controller/Admin_groups_tags_favorites/"
  95. type: admingenerator
  96. prefix: /admin/muzich_admin_bundle/Admin_groups_tags_favorites
  97. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_users_tags_favorites:
  98. resource: "@MuzichAdminBundle/Controller/Admin_users_tags_favorites/"
  99. type: admingenerator
  100. prefix: /admin/muzich_admin_bundle/Admin_users_tags_favorites
  101. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_presubscription:
  102. resource: "@MuzichAdminBundle/Controller/Admin_presubscription/"
  103. type: admingenerator
  104. prefix: /admin/muzich_admin_bundle/Admin_presubscription
  105. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_registration_token:
  106. resource: "@MuzichAdminBundle/Controller/Admin_registration_token/"
  107. type: admingenerator
  108. prefix: /admin/muzich_admin_bundle/Admin_registration_token
  109. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_event_archive:
  110. resource: "@MuzichAdminBundle/Controller/Admin_event_archive/"
  111. type: admingenerator
  112. prefix: /admin/muzich_admin_bundle/Admin_event_archive
  113. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_element_tags_proposition:
  114. resource: "@MuzichAdminBundle/Controller/Admin_element_tags_proposition/"
  115. type: admingenerator
  116. prefix: /admin/muzich_admin_bundle/Admin_element_tags_proposition
  117. MuzichAdminBundle_admin_muzich_admin_bundle_Admin:
  118. resource: "@MuzichAdminBundle/Resources/config/routing.yml"
  119. prefix: /admin/muzich_admin_bundle
  120. MuzichAdminBundle_admin_muzich_admin_bundle_Moderate_element:
  121. resource: "@MuzichAdminBundle/Controller/Moderate_element/"
  122. type: admingenerator
  123. prefix: /admin/muzich_admin_bundle/Moderate_element
  124. MuzichAdminBundle_admin_muzich_admin_bundle_Moderate_tag:
  125. resource: "@MuzichAdminBundle/Controller/Moderate_tag/"
  126. type: admingenerator
  127. prefix: /admin/muzich_admin_bundle/Moderate_tag
  128. test_error:
  129. pattern: /test-error
  130. defaults: { _controller: MuzichCoreBundle:Core:testError }