I have a route like:

inspection_show:
  class: sfDoctrineRoute
  url: /inspection/:inspection_id.:sf_format
  params: { module: inspection, action: show, sf_format: html}
  options: { model: Inspection, type: object }
  requirements:
    inspection_id: \d+

If I go to the url /inspection/1.html it works but generated urls look
like /inspection/1 without the sf_format. Is there something else I
need to do to make it automatically add the sf_format param to
generated urls?

Thanks,
Michael
--~--~---------~--~----~------------~-------~--~----~
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