I have a problem with routing .... This is my (very simplified) model:
Topten: columns: id: autoincrement, primary, etc name: string cat_id: integer relations: Category: local: cat_id foreign: id Category: columns: id: autoincrement, primary, etc name: string relations: Toptens: local: id foreign: cat_id class: Topten foreignAlias: Toptens I have autogenerated an admin for the Topten class. Now I want to add a cat to every template as to constrain the navigation to this cat. For example, I have the categories: film & dvd. I am overriding the necessary templates and actions but am stuck at adding the routing. This is my current routing for the category 'film' (which has the id 1): editfilmetopten: url: /editfilmetopten/:id class: sfDoctrineRouteCollection options: { model: Topten, type: object } param: { module: topten, action: edit, cat: 1 } requirements: id: \d+ When I edit an entry I get this error: Action "editfilmetopten/show" does not exist. But the route should point to the action edit anyway. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---