Allow Rails to render template.html.erb when accept header is text/plain

后端 未结 0 463
遇见更好的自我
遇见更好的自我 2021-02-12 05:55

We have a rails 5 app where the vast majority of app responses should be html. An additional limited set of Ajax requests expect to be requested by text/plain, and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题