symfony propel:generate-admin public employees
symfony propel:generate-admin public candidates

then you should have two routes in routing.yml like these


  employees:
    class: sfPropelRouteCollection
    options:
      model:                Person
      with_wildcard_routes: true

  candidates:
    class: sfPropelRouteCollection
    options:
      model:                Person
      with_wildcard_routes: true

the admin in this case is generated for a route and the route can
specify the model.
Not sure it works for 1.1 but it works for 1.2 and I suggest you to
upgrade (the upgrade path from 1.1 to 1.2 is lots easier than the
upgrade path from 1.0 to 1.1).


Martino


On Wed, Feb 11, 2009 at 10:02 AM, Nabil EL GHALI <[email protected]> wrote:
> no it's for the admin generator , any ideas to do that ? .
>
> thank's
>
> ------------------------------------
> Nabil EL GHALI
> Web Developer & Freelancer
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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