diff options
author | José Valim <jose.valim@gmail.com> | 2012-02-20 11:48:14 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-02-20 20:49:39 +0100 |
commit | 5e3b54d25aeb84c4d6806416fbd6c21c29564d6a (patch) | |
tree | fd1a9a5065d6722061f62875d51d144feeaf6fa1 /actionpack/lib/action_view/template | |
parent | 07dc909a47b644a9fe841ceaa6234fd8abac94c6 (diff) | |
download | rails-5e3b54d25aeb84c4d6806416fbd6c21c29564d6a.tar.gz rails-5e3b54d25aeb84c4d6806416fbd6c21c29564d6a.tar.bz2 rails-5e3b54d25aeb84c4d6806416fbd6c21c29564d6a.zip |
Merge pull request #5101 from ckdake/ckdake_actionview_handler_reset
Reset memoized hash keys when new ActionView::Template handler is registered
Conflicts:
actionpack/lib/action_view/template/handlers.rb
Diffstat (limited to 'actionpack/lib/action_view/template')
-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 67978ada7e..4e22bec6cc 100644 --- a/actionpack/lib/action_view/template/handlers.rb +++ b/actionpack/lib/action_view/template/handlers.rb @@ -23,6 +23,7 @@ module ActionView #:nodoc: # and should return the rendered template as a String. def register_template_handler(extension, handler) @@template_handlers[extension.to_sym] = handler + @@template_extensions = nil end def template_handler_extensions |