On Mon, Dec 15, 2008 at 6:37 AM, juro <[email protected]> wrote:

> In a module, I have a function/view that builds a csv, which I want to
> take out of the routings normal behaviour, i.e. I don't want ".html"
> to be added to resulting filename.
>
> How can I set the sf_format for one module's function only?

Just create a dedicate route, like this:

csv_export:
  url:   /toto.csv
  param: { module: foo, action: bar }

The use of sf_format is not mandatory here.

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67

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