Skip to content

Commit

Permalink
Changes for ActionMailer deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvaiyanidhi committed Jan 10, 2024
1 parent 1d639db commit 7577090
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class Application < Rails::Application
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")

config.action_mailer.preview_path = "#{Rails.root}/lib/mailer_previews"

config.action_mailer.preview_paths << (defined?(Rails.root) ? Rails.root.join("lib", "mailers", "previews") : nil)
config.eager_load_paths << Rails.root.join("app", "lib", "importers")
config.assets.paths << Rails.root.join("app", "assets", "webfonts")
config.active_storage.variant_processor = :mini_magick
Expand Down

0 comments on commit 7577090

Please sign in to comment.