Thanks ! It does work now! I must write all the new code before the default 
rules no?

--- En date de : Lun 1.12.08, Fabien Potencier <[EMAIL PROTECTED]> a écrit :
De: Fabien Potencier <[EMAIL PROTECTED]>
Objet: Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 
1.2
À: [email protected]
Date: Lundi 1 Décembre 2008, 13h32

The routes for admin gen modules must be at the beginning of the file.

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80


Teddy Maitre wrote:
> change_culture:
>   url:   /change_culture/:culture
>   param: { module: user, action: changeCulture }
>   requirements:
>     culture: (en_US|fr_FR|de_DE)
> # default rules
> homepage:
>   url:   /
>   param: { module: main, action: index }
> 
> default_index:
>   url:   /:module
>   param: { action: index }
> 
> default:
>   url:   /:module/:action/*
>  
> domaine:
>   class:                    sfDoctrineRouteCollection
>   options:
>     model:                  Envdomaine
>     module:                 domaine
>     prefix_path:            domaine
>     with_wildcard_routes:   true
>  
> service:
>   class:                    sfDoctrineRouteCollection
>   options:
>     model:                  Envservice
>     module:                 service
>     prefix_path:            service
>     with_wildcard_routes:   true
>  
> site:
>   class:                    sfDoctrineRouteCollection
>   options:
>     model:                  Envsite
>     module:                 site
>     prefix_path:            site
>     with_wildcard_routes:   true
> 
> personnel:
>   class:                    sfDoctrineRouteCollection
>   options:
>     model:                  Envpersonnel
>     module:                 personnel
>     prefix_path:            personnel
>     with_wildcard_routes:   true
> 
> 
> 
> > 






      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to