diff options
author | Viktar Basharymau <viktar.basharymau@gmail.com> | 2013-04-12 17:35:02 +0300 |
---|---|---|
committer | Viktar Basharymau <viktar.basharymau@gmail.com> | 2013-04-12 17:35:02 +0300 |
commit | 9cb12265d8a08c219c82e4e4d305a6d60b0af35c (patch) | |
tree | 1678b7d4104e24db8e7e87e11f47b8dcdf18797f | |
parent | b12367348d9f61409c0e90e7a58c691e1b927006 (diff) | |
download | rails-9cb12265d8a08c219c82e4e4d305a6d60b0af35c.tar.gz rails-9cb12265d8a08c219c82e4e4d305a6d60b0af35c.tar.bz2 rails-9cb12265d8a08c219c82e4e4d305a6d60b0af35c.zip |
Fix a typo
-rw-r--r-- | actionpack/lib/action_view/template/resolver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb index 6b9b0a826b..3304605c1a 100644 --- a/actionpack/lib/action_view/template/resolver.rb +++ b/actionpack/lib/action_view/template/resolver.rb @@ -47,7 +47,7 @@ module ActionView NAME_BLOCK = lambda {|cache, name| cache[name] = SmallCache.new(&PREFIX_BLOCK)} KEY_BLOCK = lambda {|cache, key| cache[key] = SmallCache.new(&NAME_BLOCK)} - # usually a majority of template look ups return nothing, use this canonical preallocated array to safe memory + # usually a majority of template look ups return nothing, use this canonical preallocated array to save memory NO_TEMPLATES = [].freeze def initialize |