]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/load_configs.rb
Update various files to match current rails versions
[rails.git] / config / initializers / load_configs.rb
index 3f610cbec4d481cd824fd84b8bdf32d3e389308a..a189ac8600636b3c79dffa64b26c76b3bf7e9fad 100644 (file)
@@ -2,9 +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']
-
-# Load texts in a particular language
-TEXT = YAML.load(File.read(RAILS_ROOT + "/config/text_outputs/en.yml"))
-