…ST'] in PDFKit::Middleware#translate_paths.
…ve-master Conflicts: lib/pdfkit/pdfkit.rb
Conflicts: lib/pdfkit/configuration.rb lib/pdfkit/middleware.rb spec/middleware_spec.rb
To improve the ability to test that a PDF has been generated, and is not a normal PDF file, this commit adds custom header variables which let both RAILS (request) and Cucumber (response) know that PDFKit is in use.
Too many issues cropping up around that feature.
… if the binary file's location is not explicitly stated in config.
…ve to memoize result of request_path_is_pdf?
For the moment, the only possible condition is :only which allow to restrict pdf generation to certain routes.