]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/action_mailer.rb
Move more api-only methods into api_controller
[rails.git] / config / initializers / action_mailer.rb
index 54da2813912d51396cdea479f6d0a219823eab78..32dfa79bbfea05f7de1396385727e8debec7baf8 100644 (file)
@@ -8,6 +8,6 @@ ActionMailer::Base.smtp_settings = {
 
 # Set the host and protocol for all ActionMailer URLs
 ActionMailer::Base.default_url_options = {
-  :host => SERVER_URL,
-  :protocol => SERVER_PROTOCOL
+  :host => Settings.server_url,
+  :protocol => Settings.server_protocol
 }