mirror of
https://github.com/lloeki/tilt-pdf-rails.git
synced 2025-12-06 10:34:42 +01:00
Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 7dca498c75 |
1 changed files with 2 additions and 2 deletions
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
Integrates Tilt::PDF into Rails ActionView
|
||||
|
||||
See [Tilt::PDF](https://github.com/lloeki/tilt-pdf) for details
|
||||
See [Tilt::PDF](https://github.com/lloeki/tilt-pdf) for details about the templates themselves.
|
||||
|
||||
## Usage
|
||||
|
||||
```ruby
|
||||
gem 'tilt-pdf-rails', require: 'tilt/pdf/rails'
|
||||
gem 'tilt-pdf-rails'
|
||||
```
|
||||
|
||||
Have a `FooController` `respond_to :pdf` and `render some_view` as usual.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue