]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/load_configs.rb
Put ActionMailer configuration in the right place.
[rails.git] / config / initializers / load_configs.rb
index 988f7a7ca4ec0b924dc177cb03eba9ff30298d1c..a189ac8600636b3c79dffa64b26c76b3bf7e9fad 100644 (file)
@@ -2,5 +2,3 @@
 
 # Load application config
 APP_CONFIG = YAML.load(File.read(RAILS_ROOT + "/config/application.yml"))[RAILS_ENV]
-# This will let you more easily use helpers based on url_for in your mailers.
-ActionMailer::Base.default_url_options[:host] = APP_CONFIG['host']