KnpLabs/KnpSnappyBundle — pull request #13 by HMUDesign (2012-06-12 00:04:26+00:00)
Title: Add automatic asset correction and automatic pdf generation

By default, you must put the full file system path in the templates for wkhtmltopdf to find the assets (stylesheets, images, etc). I made a modification to the twig asset() class to do this automatically.

I also added automatic pdf generation when request type is pdf, along with a SnappyPDF annotation to configure (currently accepts active and disposition parameters)