diff options
author | wycats <wycats@gmail.com> | 2010-06-04 17:28:04 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-06-04 20:11:06 -0700 |
commit | a6b39428431abeaa0251bbf4b6582e578f81783f (patch) | |
tree | a85e09146a4e046cc69485df35c6b5bcea0bef8e /actionpack/lib/action_view/template/handlers.rb | |
parent | 16ee4b4d1b125bd3edb5c191d58c7afdf6d3232e (diff) | |
download | rails-a6b39428431abeaa0251bbf4b6582e578f81783f.tar.gz rails-a6b39428431abeaa0251bbf4b6582e578f81783f.tar.bz2 rails-a6b39428431abeaa0251bbf4b6582e578f81783f.zip |
Optimize LookupContext
Diffstat (limited to 'actionpack/lib/action_view/template/handlers.rb')
-rw-r--r-- | actionpack/lib/action_view/template/handlers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/handlers.rb b/actionpack/lib/action_view/template/handlers.rb index 35488c0391..6228d7ac39 100644 --- a/actionpack/lib/action_view/template/handlers.rb +++ b/actionpack/lib/action_view/template/handlers.rb @@ -19,7 +19,7 @@ module ActionView #:nodoc: @@default_template_handlers = nil def self.extensions - @@template_handlers.keys + @@template_extensions ||= @@template_handlers.keys end # Register a class that knows how to handle template files with the given |