From de1060f4e02925c12004f2ae4dd3f28cdb6a8e04 Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Mon, 17 Sep 2012 10:07:08 -0500 Subject: Rename .rb template handler to .ruby to avoid conflicts with mustache views classes --- actionpack/lib/action_view/template/handlers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/template/handlers.rb b/actionpack/lib/action_view/template/handlers.rb index 52e032bbd8..6b57d4bb89 100644 --- a/actionpack/lib/action_view/template/handlers.rb +++ b/actionpack/lib/action_view/template/handlers.rb @@ -10,7 +10,7 @@ module ActionView #:nodoc: base.register_default_template_handler :erb, ERB.new base.register_template_handler :builder, Builder.new base.register_template_handler :raw, Raw.new - base.register_template_handler :rb, :source.to_proc + base.register_template_handler :ruby, :source.to_proc end @@template_handlers = {} -- cgit v1.2.3