diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-11-14 09:30:25 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-11-14 09:30:25 +0000 |
commit | 7106dca97779677070b134ae3c87e88b8a8b2c9d (patch) | |
tree | 8a26b0aeb8432fb22e0f3a10a3b54bf4e7ae72ff /actionpack/lib/action_view | |
parent | 78fb61a1fa3403bcaf616c5794f2ef764db3fd66 (diff) | |
download | rails-7106dca97779677070b134ae3c87e88b8a8b2c9d.tar.gz rails-7106dca97779677070b134ae3c87e88b8a8b2c9d.tar.bz2 rails-7106dca97779677070b134ae3c87e88b8a8b2c9d.zip |
Actually cache the template names.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 7bff8c00c2..40d7c11509 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -386,7 +386,7 @@ module ActionView #:nodoc: # def full_template_path(template_path, extension) if @@cache_template_extensions - (@@cached_base_paths[template_path] ||= {})[extension.to_s] = find_full_template_path(template_path, extension) + (@@cached_base_paths[template_path] ||= {})[extension.to_s] ||= find_full_template_path(template_path, extension) else find_full_template_path(template_path, extension) end |