From f7cc60ed804c4e2bb707112efd61b1dab4bbd933 Mon Sep 17 00:00:00 2001 From: dpree Date: Sat, 31 Jul 2010 11:32:42 +0200 Subject: [PATCH] fix compatibility with rails3.0.0.rc --- lib/mustache_rails.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mustache_rails.rb b/lib/mustache_rails.rb index c7e906d..8be4a9d 100644 --- a/lib/mustache_rails.rb +++ b/lib/mustache_rails.rb @@ -119,5 +119,5 @@ def mustache_template_file(template) end end -::ActiveSupport::Dependencies.load_paths << Rails.root.join("app", "views") +::ActiveSupport::Dependencies.autoload_paths << Rails.root.join("app", "views") ::ActionView::Template.register_template_handler(:rb, Mustache::Rails::TemplateHandler)