Skip to content

Commit

Permalink
default_protocol in list of available config
Browse files Browse the repository at this point in the history
`default_protocol` is an available config option that is not documented anywhere. Add it to the list of available options so that others can configure WickedPdf fully.
  • Loading branch information
benortiz committed Oct 25, 2016
1 parent 949d924 commit 9da3e6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -142,6 +142,7 @@ class ThingsController < ApplicationController
page_width: NUMBER,
save_to_file: Rails.root.join('pdfs', "#{filename}.pdf"),
save_only: false, # depends on :save_to_file being set first
default_protocol: 'http',
proxy: 'TEXT',
basic_auth: false # when true username & password are automatically sent from session
username: 'TEXT',
Expand Down

0 comments on commit 9da3e6b

Please sign in to comment.