Skip to content

Commit 1b15a13

Browse files
committed
Fix mail delivery job deprecation (rails/rails#34591)
1 parent 5458669 commit 1b15a13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/application.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module Amber
2222
class Application < Rails::Application
2323
# Initialize configuration defaults for originally generated Rails version.
2424
config.load_defaults 5.0
25+
Rails.application.config.action_mailer.delivery_job = "ActionMailer::MailDeliveryJob" # TODO remove when defaults are set to 6.0
2526

2627
# Settings in config/environments/* take precedence over those specified here.
2728
# Application configuration can go into files in config/initializers

0 commit comments

Comments
 (0)