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
Move interceptors registry into reloader
Oliver Günther8ec3f0576759
diff --git a/config/initializers/register_mail_interceptors.rb b/config/initializers/register_mail_interceptors.rbindex b6c9329bb38..3137ca16b96 100644--- a/config/initializers/register_mail_interceptors.rb+++ b/config/initializers/register_mail_interceptors.rb@@ -28,7 +28,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 Interceptors::DefaultHeaders-# following needs to be the last interceptor-ApplicationMailer.register_interceptor Interceptors::DoNotSendMailsWithoutRecipient+Rails.application.reloader.to_prepare do+ ApplicationMailer.register_interceptor Interceptors::DefaultHeaders+ # following needs to be the last interceptor+ ApplicationMailer.register_interceptor Interceptors::DoNotSendMailsWithoutRecipient+end