From 5e3b54d25aeb84c4d6806416fbd6c21c29564d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 20 Feb 2012 11:48:14 -0800 Subject: 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 --- actionpack/lib/action_view/template/handlers.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/action_view/template/handlers.rb') 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 -- cgit v1.2.3