Commit 831c00634fe568f9c9ef622c7710b1235ae65ad6

Authored by Shuky Dvir
2 parents 18629f26 2c4fc55d
Exists in master and in 1 other branch production

Merge pull request #386 from Nix-wie-weg/ssl-mail-links

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
... ...