When I upgraded to 1.2 RC1, my routes where not working anymore saying
that articles route collection does not exist.

I changed my routes to singular name (avoid plural) for everything and
regenerated all my modules and corrected my action classes.

Now, everything works fine.

BElow my  new routes :

category:
  class: sfDoctrineRouteCollection
  options:
    model:               Category
    module:              category
    prefix_path:         category
    with_wilcard_routes: true

author:
  class: sfDoctrineRouteCollection
  options:
    model:               Author
    module:              author
    prefix_path:         author
    with_wilcard_routes: true

article:
  class: sfDoctrineRouteCollection
  options:
    model:               Article
    module:              article
    prefix_path:         article
    with_wilcard_routes: true

and my old ones :

articles:
  class:                    sfDoctrineRouteCollection
  options:
    model:                  Article
    module:                 articles
    prefix_path:            articles
    with_wildcard_routes:   true

categories:
  class:                    sfDoctrineRouteCollection
  options:
    model:                  Category
    module:                 categories
    prefix_path:            categories
    with_wildcard_routes:   true
authors:
  class:                    sfDoctrineRouteCollection
  options:
    model:                  Author
    module:                 authors
    prefix_path:            authors
    with_wildcard_routes:   true

Could not find what was wrong !

Frédéric.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to