Skip to content

Commit

Permalink
Merge pull request mileszs#109 from kabturek/patch-1
Browse files Browse the repository at this point in the history
added :disposition => 'attachment' option to README
  • Loading branch information
unixmonkey committed Apr 24, 2012
2 parents 566481a + a5974ee commit 0ec8ce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -44,6 +44,7 @@ or add this to your Gemfile:
format.html
format.pdf do
render :pdf => 'file_name',
:disposition => 'attachment', # default 'inline'
:template => 'things/show.pdf.erb',
:layout => 'pdf.html', # use 'pdf.html' for a pdf.html.erb file
:wkhtmltopdf => '/usr/local/bin/wkhtmltopdf', # path to binary
Expand Down

0 comments on commit 0ec8ce9

Please sign in to comment.