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