routing.yml 5.4KB

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