mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Update mailer delivery_method in dev environment
This commit is contained in:
@@ -110,8 +110,8 @@ Rails.application.configure do
|
||||
# Raise error when a before_action's only/except options reference missing actions
|
||||
config.action_controller.raise_on_missing_callback_actions = true
|
||||
|
||||
# Send mails to browser window
|
||||
config.action_mailer.delivery_method = :letter_opener_web
|
||||
# Send mails to browser window (unless configured otherwise)
|
||||
config.action_mailer.delivery_method = ENV["OPENPROJECT_EMAIL_DELIVERY_METHOD"]&.to_sym || :letter_opener_web
|
||||
|
||||
# Set email preview locations to rspec
|
||||
config.action_mailer.preview_paths << Rails.root.join("spec/mailers/previews")
|
||||
|
||||
Reference in New Issue
Block a user