aboutsummaryrefslogtreecommitdiffstats
path: root/guides/assets/images/nav_arrow.gif
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-04-30 10:56:48 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-04-30 10:56:55 -0700
commitfd924371126a50789d31582b9efa074fd47a803e (patch)
treea897c7edf10c46e12c628548413d9072b8942c32 /guides/assets/images/nav_arrow.gif
parentca20037899e55ddf734b727454a3180bebf82212 (diff)
downloadrails-fd924371126a50789d31582b9efa074fd47a803e.tar.gz
rails-fd924371126a50789d31582b9efa074fd47a803e.tar.bz2
rails-fd924371126a50789d31582b9efa074fd47a803e.zip
split nil / Hash cases in url_for
this reduces the number of comparisons and method calls `url_for` requires. The nil case no longer calls `symbolize_keys`, we already know options is nil, so no more ||=, and since it is nil we already know that options[:host] will be nil too.
Diffstat (limited to 'guides/assets/images/nav_arrow.gif')
0 files changed, 0 insertions, 0 deletions