diff options
author | Chris Kelly <ckdake@ckdake.com> | 2012-02-20 14:35:30 -0500 |
---|---|---|
committer | Chris Kelly <ckdake@ckdake.com> | 2012-02-20 14:35:30 -0500 |
commit | 68d3a4619490a0d9df1951f38068bd06d9e0fbb9 (patch) | |
tree | af11d970322b2527eb7101a992e33068c5669aae /actionpack/lib | |
parent | 3b824d66cd17965e3a9e76e36d569cf14463dcec (diff) | |
download | rails-68d3a4619490a0d9df1951f38068bd06d9e0fbb9.tar.gz rails-68d3a4619490a0d9df1951f38068bd06d9e0fbb9.tar.bz2 rails-68d3a4619490a0d9df1951f38068bd06d9e0fbb9.zip |
Reset memoized hash keys when new entry added
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/template/handlers.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/template/handlers.rb b/actionpack/lib/action_view/template/handlers.rb index aa693335e3..192e527a7b 100644 --- a/actionpack/lib/action_view/template/handlers.rb +++ b/actionpack/lib/action_view/template/handlers.rb @@ -26,6 +26,7 @@ module ActionView #:nodoc: # return the rendered template as a string. def register_template_handler(extension, klass) @@template_handlers[extension.to_sym] = klass + @@template_extensions = nil end def template_handler_extensions |