aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/controller_helper.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-04-04 21:29:50 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-04-04 21:51:45 -0300
commit797fcdf738a2a2772544731027d4fc5ca9d358bc (patch)
tree24abf7cef7e179391b7f119389bdc9aa3edb589d /actionpack/lib/action_view/helpers/controller_helper.rb
parente936cf9c47e716a32b75703cb1a8badf96be8a6b (diff)
downloadrails-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 'actionpack/lib/action_view/helpers/controller_helper.rb')
0 files changed, 0 insertions, 0 deletions