Please sign in to comment.
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.
- Loading branch information...
Showing with 6 additions and 5 deletions.