Skip to content

lloeki/tilt-pdf-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tilt::PDF::Rails

Integrates Tilt::PDF into Rails ActionView

See Tilt::PDF for details about the templates themselves.

Usage

gem '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).

About

Generate PDF with Rails and Tilt::PDF

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages