lib/hanami/components/components.rb in hanami-1.1.0.beta1 vs lib/hanami/components/components.rb in hanami-1.1.0.beta2

- old
+ new

@@ -218,9 +218,13 @@ Hanami::Mailer.configuration = Hanami::Mailer.configuration.dup end configuration.mailer_settings.each do |settings| Hanami::Mailer.configure(&settings) + Hanami::Mailer.configuration.mailers.each do |mailer| + mailer.configuration = Hanami::Mailer.configuration.duplicate + Hanami::Mailer.configuration.copy!(mailer) + end end Hanami::Mailer.configuration end end