more sensible mailer option defaults
Conflicts: app/mailers/base_mailer.rb config/app_config.yml.SAMPLE spec/app_config.yml
This commit is contained in:
parent
ecf5601023
commit
63d52db91b
6 changed files with 17 additions and 11 deletions
|
|
@ -29,6 +29,9 @@ Foodsoft::Application.configure do
|
|||
# Disable request forgery protection in test environment.
|
||||
config.action_controller.allow_forgery_protection = false
|
||||
|
||||
# Configure hostname for action mailer (can be overridden in foodcoop config)
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000, protocol: 'http' }
|
||||
|
||||
# Tell Action Mailer not to deliver emails to the real world.
|
||||
# The :test delivery method accumulates sent emails in the
|
||||
# ActionMailer::Base.deliveries array.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue