aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/base.rb
diff options
context:
space:
mode:
authorhnatt <hnatt88@gmail.com>2015-10-29 22:01:16 +0200
committerhnatt <hnatt88@gmail.com>2015-10-29 22:01:16 +0200
commitc26abb86915c64fdf6a80aed27f48e16491d51d6 (patch)
tree705a85751becc7530805f132dffef30b2d01fdd2 /actionmailer/lib/action_mailer/base.rb
parent4b65e5058e726af9ae02e2e0a65e6b5e1a1628ec (diff)
downloadrails-c26abb86915c64fdf6a80aed27f48e16491d51d6.tar.gz
rails-c26abb86915c64fdf6a80aed27f48e16491d51d6.tar.bz2
rails-c26abb86915c64fdf6a80aed27f48e16491d51d6.zip
Fix indentation in ActionMailer::Base#collect_responses_from_templates
Diffstat (limited to 'actionmailer/lib/action_mailer/base.rb')
-rw-r--r--actionmailer/lib/action_mailer/base.rb10
1 files changed, 5 insertions, 5 deletions
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