OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
stop autoloading ApplicationMailer during initialization
Christophe Bliard1d04491d0acd
diff --git a/config/initializers/register_mail_interceptors.rb b/config/initializers/register_mail_interceptors.rbindex e825d63d41c..6fcd86dcde7 100644--- a/config/initializers/register_mail_interceptors.rb+++ b/config/initializers/register_mail_interceptors.rb@@ -31,6 +31,8 @@# Register interceptors defined in app/mailers/user_mailer.rb# Do this here, so they aren't registered multiple times due to reloading in development mode.-ApplicationMailer.register_interceptor(DefaultHeadersInterceptor)-# following needs to be the last interceptor-ApplicationMailer.register_interceptor(DoNotSendMailsWithoutReceiverInterceptor)+Rails.application.config.action_mailer.interceptors = [+ "DefaultHeadersInterceptor",+ # following needs to be the last interceptor+ "DoNotSendMailsWithoutReceiverInterceptor"+]