diff options
| author | Michael Grosser <michael@grosser.it> | 2015-11-05 17:35:50 -0800 |
|---|---|---|
| committer | Michael Grosser <michael@grosser.it> | 2015-11-06 08:27:33 -0800 |
| commit | 2c42404330a3e7a1648a01e072035c2bee9cc118 (patch) | |
| tree | 74b32b9e52a814b55813cfb46f50e327bdfb96aa /actionpack/lib/action_dispatch/http/url.rb | |
| parent | cb67c819338d75c07a591dc23759747c740a5088 (diff) | |
| download | rails-2c42404330a3e7a1648a01e072035c2bee9cc118.tar.gz rails-2c42404330a3e7a1648a01e072035c2bee9cc118.tar.bz2 rails-2c42404330a3e7a1648a01e072035c2bee9cc118.zip | |
call local_cache 1 time instead of 3 times
LocalCache read_entry previously called the local_cache method 3 times,
now it only calls it once and keeps the result in a local variable.
Diffstat (limited to 'actionpack/lib/action_dispatch/http/url.rb')
0 files changed, 0 insertions, 0 deletions
