Topic: How can I specify content type that I want back from form_tag?
when user adds ".csv" to the url in my index action, I'm generating a file with csv data. I'd like to add "download as csv" button to the page as well. Is there a way to specify requested content type in the form_tag, so the index method will trigger respond_to format.csv part?
Thank you in advance