Generate PDF with Rails and Tilt::PDF
Find a file
2014-02-24 09:46:26 +01:00
bin rudimentary command line generator tool 2014-02-20 14:37:55 +01:00
lib split tilt-pdf and tilt-pdf-rails 2014-02-24 09:46:26 +01:00
.gitignore first version 2013-10-22 17:41:08 +02:00
.rubocop.yml first version 2013-10-22 17:41:08 +02:00
Gemfile first version 2013-10-22 17:41:08 +02:00
Gemfile.lock extended auxiliary files support 2014-02-21 16:14:18 +01:00
LICENSE first version 2013-10-22 17:41:08 +02:00
README.mdown split tilt-pdf and tilt-pdf-rails 2014-02-24 09:46:26 +01:00
tilt-pdf-rails.gemspec split tilt-pdf and tilt-pdf-rails 2014-02-24 09:46:26 +01:00

Tilt::PDF::Rails

Integrates Tilt::PDF into Rails ActionView

See Tilt::PDF for details

Usage

gem 'tilt-pdf-rails', require: 'tilt/pdf/rails'

Have a FooController respond_to :pdf and render some_view as usual.

Put your some_view template files either together in the relevant app/views/foo view directory, or use absolute paths using application/engine root.

Work is in progress to enable better integration with Rails file layout (notably assets).