Set default_url_options for action_mailer
This saves having to repeat the same host and protocol options throughout the notifiers
This commit is contained in:
parent
fc90b73581
commit
713de1fadb
3 changed files with 18 additions and 34 deletions
|
@ -43,5 +43,8 @@ module OpenStreetMap
|
|||
config.logstasher.logger_path = LOGSTASH_PATH
|
||||
config.logstasher.log_controller_parameters = true
|
||||
end
|
||||
|
||||
# Set the host and protocol for all action mailer urls
|
||||
config.action_mailer.default_url_options = { :host => SERVER_URL, :protocol => SERVER_PROTOCOL }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue