Browse Source

fix du problmeme de route pour index (où la locale n'était pas fournis)

Sevajol Bastien 12 years ago
parent
commit
a7724f3349
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Muzich/IndexBundle/Resources/config/routing.yml

+ 1 - 0
src/Muzich/IndexBundle/Resources/config/routing.yml View File

14
     pattern:  /hello/{_locale}
14
     pattern:  /hello/{_locale}
15
     defaults:
15
     defaults:
16
       _controller: MuzichIndexBundle:Index:index
16
       _controller: MuzichIndexBundle:Index:index
17
+      _locale:     ''
17
 
18
 
18
 fos_user_security:
19
 fos_user_security:
19
     resource: "@FOSUserBundle/Resources/config/routing/security.xml"
20
     resource: "@FOSUserBundle/Resources/config/routing/security.xml"