Commit 2c4fc55d2eb07680b5658a2fba7772e588fc2a8d

Authored by Daniel Bayerlein
1 parent 18629f26
Exists in master and in 1 other branch production

Set protocol https if enforce SSL connections configured

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
config/initializers/ssl_enforcer.rb
1   -#
2 1 # Enforce SSL connections, if configured
3 2 if Errbit::Config.enforce_ssl
  3 + ActionMailer::Base.default_url_options.merge!(:protocol => 'https://')
4 4 Errbit::Application.configure do
5 5 config.middleware.use Rack::SslEnforcer, :except => /^\/deploys/
6 6 end
... ...