aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2012-09-17 10:07:08 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2012-09-17 10:07:08 -0500
commitde1060f4e02925c12004f2ae4dd3f28cdb6a8e04 (patch)
tree46876f32f7d9bdeaed1af2fa5610881cfca2f661 /actionpack/lib/action_view
parente08a564e87dd4a61fb0617db3b1f21f1e81a614d (diff)
downloadrails-de1060f4e02925c12004f2ae4dd3f28cdb6a8e04.tar.gz
rails-de1060f4e02925c12004f2ae4dd3f28cdb6a8e04.tar.bz2
rails-de1060f4e02925c12004f2ae4dd3f28cdb6a8e04.zip
Rename .rb template handler to .ruby to avoid conflicts with mustache views classes
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/template/handlers.rb2
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 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 = {}