开发者

Rails 3 PDFKit responds with format=pdf for every request after responding with pdf once

I append .pdf to a view, e.g. http://0.0.0.0:3000/users/edit/10024.html

That page renders as a PDF. But then every page afterwards also renders as PDF, regardless of whether I append .pdf or .html or not开发者_如何学Pythonhing to the end of the url. I'm not even sure how to debug this problem.


Looks like a bug in PDFKit: https://github.com/jdpace/PDFKit/issues#issue/66

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜