Hi, i must do a link to a file because it must be downloadable. I think that there is too way to do it : 1st) directly in my Twig template. But in that case, how to generate the url to the file that is stored in my Bundle : myBundle/Resources/public/files/myFile.zip ? 2nd) i can use a new controller with a specific routes. But is there a method to identify the BundlePAth ? i can do __DIR__ but i'm not sure it's the best way. And then, how the controller can force the download of the file. There is a Response object that i may use, but i have to specify all headers manually.
Thanks -- Benjamin RICHARD -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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