Commit 7017527c109e51858939f68165fe69caebedcdc2
- Date: Wed Apr 30 03:16:07 +0000 2008
- Committer: Tim Dysinger (tim@dysinger.net)
- Author: Tim Dysinger (tim@dysinger.net)
- Commit SHA1: 7017527c109e51858939f68165fe69caebedcdc2
- Tree SHA1: 7bcdbb9af6c798f3cd42d526ef3ffb564ff0dc25
changed actionmailer to use https for links
Commit diff
| |   |
| 23 | 23 | # Enable serving of images, stylesheets, and javascripts from an asset server |
| 24 | 24 | # config.action_controller.asset_host = "http://assets.example.com" |
| 25 | 25 | |
| 26 | | # ActionMailer::Base.default_url_options[:protocol] = 'https' |
| 26 | ActionMailer::Base.default_url_options[:protocol] = 'https' |
| 27 | 27 | ActionMailer::Base.default_url_options[:host] = |
| 28 | 28 | YAML.load_file(File.join(RAILS_ROOT, "config/gitorious.yml"))["gitorious_host"] |
| 29 | 29 | # Disable delivery errors, bad email addresses will be ignored |
| toggle raw diff |
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -23,7 +23,7 @@ config.action_controller.fragment_cache_store = :file_store, File.join(cache_dir
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
-# ActionMailer::Base.default_url_options[:protocol] = 'https'
+ActionMailer::Base.default_url_options[:protocol] = 'https'
ActionMailer::Base.default_url_options[:host] =
YAML.load_file(File.join(RAILS_ROOT, "config/gitorious.yml"))["gitorious_host"]
# Disable delivery errors, bad email addresses will be ignored |