routing.yml 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. MuzichPlaylistBundle:
  57. resource: "@MuzichPlaylistBundle/Resources/config/routing.yml"
  58. prefix: /{_locale}/
  59. requirements:
  60. _locale: fr|en
  61. AdmingeneratorDashboard_welcome:
  62. pattern: /admin/dashboard
  63. defaults: { _controller: MuzichAdminBundle:Dashboard:welcome }
  64. shtumi_useful:
  65. resource: '@ShtumiUsefulBundle/Resources/config/routing.xml'
  66. prefix: /system/search/
  67. ########## ADMIN
  68. MuzichAdminBundle:
  69. resource: "@MuzichAdminBundle/Resources/config/routing.yml"
  70. prefix: /admin/
  71. AdmingeneratorDashboard_welcome:
  72. pattern: /admin/dashboard
  73. defaults: { _controller: MuzichAdminBundle:Dashboard:welcome }
  74. MuzichAdminBundle_admin_muzich_admin_bundle_admin_element:
  75. resource: "@MuzichAdminBundle/Controller/Admin_element/"
  76. type: admingenerator
  77. prefix: /admin/muzich_admin_bundle/admin_element
  78. MuzichAdminBundle_admin_muzich_admin_bundle_admin_tag:
  79. resource: "@MuzichAdminBundle/Controller/Admin_tag/"
  80. type: admingenerator
  81. prefix: /admin/muzich_admin_bundle/admin_tag
  82. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_group:
  83. resource: "@MuzichAdminBundle/Controller/Admin_group/"
  84. type: admingenerator
  85. prefix: /admin/muzich_admin_bundle/Admin_group
  86. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_playlist:
  87. resource: "@MuzichAdminBundle/Controller/Admin_playlist/"
  88. type: admingenerator
  89. prefix: /admin/muzich_admin_bundle/Admin_playlist
  90. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_user:
  91. resource: "@MuzichAdminBundle/Controller/Admin_user/"
  92. type: admingenerator
  93. prefix: /admin/muzich_admin_bundle/Admin_user
  94. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_follow_user:
  95. resource: "@MuzichAdminBundle/Controller/Admin_follow_user/"
  96. type: admingenerator
  97. prefix: /admin/muzich_admin_bundle/Admin_follow_user
  98. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_follow_group:
  99. resource: "@MuzichAdminBundle/Controller/Admin_follow_group/"
  100. type: admingenerator
  101. prefix: /admin/muzich_admin_bundle/Admin_follow_group
  102. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_groups_tags_favorites:
  103. resource: "@MuzichAdminBundle/Controller/Admin_groups_tags_favorites/"
  104. type: admingenerator
  105. prefix: /admin/muzich_admin_bundle/Admin_groups_tags_favorites
  106. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_users_tags_favorites:
  107. resource: "@MuzichAdminBundle/Controller/Admin_users_tags_favorites/"
  108. type: admingenerator
  109. prefix: /admin/muzich_admin_bundle/Admin_users_tags_favorites
  110. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_presubscription:
  111. resource: "@MuzichAdminBundle/Controller/Admin_presubscription/"
  112. type: admingenerator
  113. prefix: /admin/muzich_admin_bundle/Admin_presubscription
  114. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_registration_token:
  115. resource: "@MuzichAdminBundle/Controller/Admin_registration_token/"
  116. type: admingenerator
  117. prefix: /admin/muzich_admin_bundle/Admin_registration_token
  118. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_event_archive:
  119. resource: "@MuzichAdminBundle/Controller/Admin_event_archive/"
  120. type: admingenerator
  121. prefix: /admin/muzich_admin_bundle/Admin_event_archive
  122. MuzichAdminBundle_admin_muzich_admin_bundle_Admin_element_tags_proposition:
  123. resource: "@MuzichAdminBundle/Controller/Admin_element_tags_proposition/"
  124. type: admingenerator
  125. prefix: /admin/muzich_admin_bundle/Admin_element_tags_proposition
  126. MuzichAdminBundle_admin_muzich_admin_bundle_Admin:
  127. resource: "@MuzichAdminBundle/Resources/config/routing.yml"
  128. prefix: /admin/muzich_admin_bundle
  129. MuzichAdminBundle_admin_muzich_admin_bundle_Moderate_element:
  130. resource: "@MuzichAdminBundle/Controller/Moderate_element/"
  131. type: admingenerator
  132. prefix: /admin/muzich_admin_bundle/Moderate_element
  133. MuzichAdminBundle_admin_muzich_admin_bundle_Moderate_tag:
  134. resource: "@MuzichAdminBundle/Controller/Moderate_tag/"
  135. type: admingenerator
  136. prefix: /admin/muzich_admin_bundle/Moderate_tag
  137. test_error:
  138. pattern: /test-error
  139. defaults: { _controller: MuzichCoreBundle:Core:testError }