# Internal routing configuration to handle ESI #_internal: # resource: "@FrameworkBundle/Resources/config/routing/internal.xml" # prefix: /_internal admin: resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml' prefix: /admin _sonata_admin: resource: . type: sonata_admin prefix: /admin MuzichIndexBundle: resource: "@MuzichIndexBundle/Resources/config/routing.yml" prefix: / change_language: pattern: /change-language/{language}/{redirect} defaults: { _controller: MuzichCoreBundle:Core:changeLanguage, redirect: referer } MuzichCoreBundle: resource: "@MuzichCoreBundle/Resources/config/routing.yml" prefix: /{_locale}/ defaults: { _locale: fr } MuzichHomeBundle: resource: "@MuzichHomeBundle/Resources/config/routing.yml" prefix: /{_locale}/ defaults: _locale: en|fr MuzichUserBundle: resource: "@MuzichUserBundle/Resources/config/routing.yml" prefix: /{_locale}/ defaults: _locale: en|fr MuzichMynetworkBundle: resource: "@MuzichMynetworkBundle/Resources/config/routing.yml" prefix: /{_locale}/ defaults: _locale: en|fr MuzichGroupBundle: resource: "@MuzichGroupBundle/Resources/config/routing.yml" prefix: /{_locale}/ defaults: _locale: en|fr MuzichFavoriteBundle: resource: "@MuzichFavoriteBundle/Resources/config/routing.yml" prefix: /{_locale}/ defaults: _locale: en|fr