Skip to content

Commit

Permalink
ActionDispatch::SSL#initialize takes keyword arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kamipo committed Dec 28, 2019
1 parent 51908b6 commit 6cbd81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/application/default_middleware_stack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def build_stack
middleware.use ::ActionDispatch::HostAuthorization, config.hosts, config.action_dispatch.hosts_response_app

if config.force_ssl
middleware.use ::ActionDispatch::SSL, config.ssl_options
middleware.use ::ActionDispatch::SSL, **config.ssl_options
end

middleware.use ::Rack::Sendfile, config.action_dispatch.x_sendfile_header
Expand Down

0 comments on commit 6cbd81c

Please sign in to comment.