jdpace/PDFKit — Issue #127: using pdf template instead of default html template
Author: otty
Created: 2012-02-15 17:13:08+00:00
State: open

Hi,

i know pdfkit focus on creating pdf from default views, but does anyone know how to render views from "show.pdf.slim" or "index.pdf.slim" instead of "show.html.slim" when requesting a pdf via the middleware? i'm looking for a global solution for the entire app. If there is an xyz.pdf.slim as view, this one should prefered instead of the default view.

any ideas?

regards,
Adrian