Hi,

I have a form and I use the following route as url:

--- routing.yml
messages_view_conversation_update:
  url:       /messages/reply/:id/update
#  class:     sfDoctrineRoute
  options:   { model: Conversation, type: object }
  param:     { module: messages, action: reply, id: 1 }
  requirements:
    id: \d+

--- _form.php
<form action="<?php echo url_for('messages_view_conversation_update',
$conversation) ?>" method="post">



This works as expected. But once I uncomment sfDoctrineRoute, it does
not match any more (form is displayed correctly with url but once I
submit it, it matches /:action/:method/*).

Can you tell me why this happens and how I can fix this?

Regards

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

Reply via email to