From 7106dca97779677070b134ae3c87e88b8a8b2c9d Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Wed, 14 Nov 2007 09:30:25 +0000 Subject: Actually cache the template names. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3