lib/stache/railtie.rb in stache-0.2.1 vs lib/stache/railtie.rb in stache-0.2.2
- old
+ new
@@ -3,9 +3,9 @@
initializer 'stache.autoload', :before => :set_autoload_paths do |app|
app.config.autoload_paths << Rails.root + 'app/views'
end
config.to_prepare do
- ApplicationController.send(:append_view_path, 'app/templates')
+ ApplicationController.send(:append_view_path, Stache.template_base_path)
end
end
-end
\ No newline at end of file
+end