diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-06-12 10:01:35 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-06-12 10:01:35 -0700 |
commit | 21c626133adc4b5060df1081d9423024b6b7479d (patch) | |
tree | 8ab8feff9de8b76f35b06bf36c44768df5f2885e /actionmailer/test/url_test.rb | |
parent | caf1bfccc680510b48e058d40c2a99cae965b5cb (diff) | |
download | rails-21c626133adc4b5060df1081d9423024b6b7479d.tar.gz rails-21c626133adc4b5060df1081d9423024b6b7479d.tar.bz2 rails-21c626133adc4b5060df1081d9423024b6b7479d.zip |
reduce calls to `named_host?`
`normalize_host` already calls `named_host?`, so there is no reason to
test `named_host?` again in the `extract_domain` method.
Diffstat (limited to 'actionmailer/test/url_test.rb')
0 files changed, 0 insertions, 0 deletions