From c26abb86915c64fdf6a80aed27f48e16491d51d6 Mon Sep 17 00:00:00 2001 From: hnatt Date: Thu, 29 Oct 2015 22:01:16 +0200 Subject: Fix indentation in ActionMailer::Base#collect_responses_from_templates --- actionmailer/lib/action_mailer/base.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'actionmailer/lib/action_mailer/base.rb') diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index a90279d578..e7d646b360 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -905,11 +905,11 @@ module ActionMailer templates_name = headers.delete(:template_name) || action_name each_template(Array(templates_path), templates_name).map do |template| - self.formats = template.formats - { - body: render(template: template), - content_type: template.type.to_s - } + self.formats = template.formats + { + body: render(template: template), + content_type: template.type.to_s + } end end private :collect_responses_from_templates -- cgit v1.2.3