jdpace/PDFKit — pull request #126 by kot-begemot (2012-01-16 10:09:13+00:00)
Title: Added :pdf_layout as a condition for middleware

We were need to have a different layout for pdf files. But, if I got it correct, the idea of the gem was to return pdf file, containing exactly same page as HTML format does. Hence, we added small additional parameter. Now developer can specify whether he needs to render same layout or use different.

Test are added. README updated.