Rendering file with MIME Type in rails

后端 未结 5 520
误落风尘
误落风尘 2020-12-28 17:52

Here\'s the code:

render :file => @somedir + \"/blah.xml\"

...but the resulting MIME type is text/html when I check in FireBug. How do I

5条回答
提交回复
热议问题