diff options
author | Viktar Basharymau <viktar.basharymau@thehamon.com> | 2014-06-19 17:40:37 +0300 |
---|---|---|
committer | Viktar Basharymau <viktar.basharymau@thehamon.com> | 2014-06-19 17:40:37 +0300 |
commit | e60c85b4b612dc5c80a642268e7b170fff8f6347 (patch) | |
tree | 3a1ae79835b1f5ec7ba32363e3a2fbf8a26ba203 /actionmailer/lib | |
parent | 96f28b6a9899889c5b9d1786ca155e0c97abae7a (diff) | |
download | rails-e60c85b4b612dc5c80a642268e7b170fff8f6347.tar.gz rails-e60c85b4b612dc5c80a642268e7b170fff8f6347.tar.bz2 rails-e60c85b4b612dc5c80a642268e7b170fff8f6347.zip |
Remove unused block parameter from #gsub call in AM::MailHelper#block_format
Diffstat (limited to 'actionmailer/lib')
-rw-r--r-- | actionmailer/lib/action_mailer/mail_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/mail_helper.rb b/actionmailer/lib/action_mailer/mail_helper.rb index 54ad9f066f..483277af04 100644 --- a/actionmailer/lib/action_mailer/mail_helper.rb +++ b/actionmailer/lib/action_mailer/mail_helper.rb @@ -11,8 +11,8 @@ module ActionMailer }.join("\n\n") # Make list points stand on their own line - formatted.gsub!(/[ ]*([*]+) ([^*]*)/) { |s| " #{$1} #{$2.strip}\n" } - formatted.gsub!(/[ ]*([#]+) ([^#]*)/) { |s| " #{$1} #{$2.strip}\n" } + formatted.gsub!(/[ ]*([*]+) ([^*]*)/) { " #{$1} #{$2.strip}\n" } + formatted.gsub!(/[ ]*([#]+) ([^#]*)/) { " #{$1} #{$2.strip}\n" } formatted end |