Hello list,

I am using the collection_actions with the sfDoctrineRouteCollection.
At the moment I have all the basic CRUD routes, but also want a filter
action. The filter action must use the GET format.

How can I specify a parameter? I could abuse the object_actions for this,
but since it is the category this is not very clean to use.
At the moment I have the following:

snippet:
  class: sfDoctrineRouteCollection
  options:
    model: Snippet
    collection_actions:
      filter: get
      search: post

The ideal would be something like /snippet/:category_id/filter, where 1 is
the category id.

How can I accomplish this?

Kind regards,
Don Pinkster

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