Pete
2014-Jul-28 13:33 UTC
config.force_ssl = true should set SSL application-wide and by default
If we apply the logic "specify as much as possible on the highest level possible", then config.force_ssl = true should also set SSL for ActionMailer (and its url helpers), meaning application-wide and by default). The following requirement should then be a thing of the past: # development.rb config.action_mailer.default_url_options = { protocol: 'https', host: '0.0.0.0:3000' } # production.rb config.action_mailer.default_url_options = { protocol: 'https', host: 'mydomain.com' } -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.