Override default Action Mailer preview_path (#26110)

This commit is contained in:
Christian Schmidt 2023-07-21 21:12:57 +02:00 committed by GitHub
parent 257fadcec4
commit 579e15fb7d

View file

@ -192,7 +192,9 @@ module Mastodon
# config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
config.active_job.queue_adapter = :sidekiq
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
config.public_file_server.enabled = false