README.md in prawn_cocktail_rails-0.2.1 vs README.md in prawn_cocktail_rails-0.3.1
- old
+ new
@@ -18,9 +18,10 @@
send_pdf document
end
end
```
+You can change disposition with `send_pdf(document, disposition: "inline")`, without the option it will default to `"attachment"`.
It configures PrawnCocktail to look for its views in `app/views/documents`.
It also adds `app/documents/helpers` to the Rails autoload path so you can put your PrawnCocktail helpers there.