diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-04 21:29:50 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-04 21:51:45 -0300 |
commit | 797fcdf738a2a2772544731027d4fc5ca9d358bc (patch) | |
tree | 24abf7cef7e179391b7f119389bdc9aa3edb589d /guides | |
parent | e936cf9c47e716a32b75703cb1a8badf96be8a6b (diff) | |
download | rails-797fcdf738a2a2772544731027d4fc5ca9d358bc.tar.gz rails-797fcdf738a2a2772544731027d4fc5ca9d358bc.tar.bz2 rails-797fcdf738a2a2772544731027d4fc5ca9d358bc.zip |
Refactor mail_to to not generate intermediate hashes when adding href
There's no need to use Hash#merge with a new hash just for setting the
href option to pass it through. Since we're always dealing with a new
html_options hash, we're free to just set the value instead.
Diffstat (limited to 'guides')
0 files changed, 0 insertions, 0 deletions