Override default Action Mailer `preview_path` (#26110)

th-downstream
Christian Schmidt 1 year ago committed by GitHub
parent 217ef7f2af
commit 296ec6cf57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -192,7 +192,9 @@ module Mastodon
# config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')] # config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
config.active_job.queue_adapter = :sidekiq config.active_job.queue_adapter = :sidekiq
config.action_mailer.deliver_later_queue_name = 'mailers' config.action_mailer.deliver_later_queue_name = 'mailers'
config.action_mailer.preview_path = Rails.root.join('spec', 'mailers', 'previews')
# We use our own middleware for this # We use our own middleware for this
config.public_file_server.enabled = false config.public_file_server.enabled = false

Loading…
Cancel
Save