aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/old_api.rb
diff options
context:
space:
mode:
authorMikel Lindsaar <mikel@rubyx.com>2011-01-18 11:47:19 +1100
committerMikel Lindsaar <mikel@rubyx.com>2011-01-18 12:06:21 +1100
commit3b584aee950f5a602a4acfbc15f9bc1530716dc0 (patch)
tree018f886c69d7398663561e0d13ac033e5eed07fa /actionmailer/lib/action_mailer/old_api.rb
parentad8dc5ab894ee52c5803c616c77fc9211e82d5c5 (diff)
downloadrails-3b584aee950f5a602a4acfbc15f9bc1530716dc0.tar.gz
rails-3b584aee950f5a602a4acfbc15f9bc1530716dc0.tar.bz2
rails-3b584aee950f5a602a4acfbc15f9bc1530716dc0.zip
Fixing redundant escape in regex
Diffstat (limited to 'actionmailer/lib/action_mailer/old_api.rb')
-rw-r--r--actionmailer/lib/action_mailer/old_api.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/old_api.rb b/actionmailer/lib/action_mailer/old_api.rb
index dedb447ced..2a47e4d5a6 100644
--- a/actionmailer/lib/action_mailer/old_api.rb
+++ b/actionmailer/lib/action_mailer/old_api.rb
@@ -247,7 +247,7 @@ module ActionMailer
[ nil, {} ]
else
ctype, *attrs = @content_type.split(/;\s*/)
- attrs = Hash[attrs.map { |attr| attr.split(/\=/, 2) }]
+ attrs = Hash[attrs.map { |attr| attr.split(/=/, 2) }]
[ctype, {"charset" => @charset}.merge!(attrs)]
end
end