lib/stache/config.rb in stache-0.0.2 vs lib/stache/config.rb in stache-0.0.3
- old
+ new
@@ -17,9 +17,13 @@
def template_base_path
@template_base_path ||= ::Rails.root.join('app', 'templates')
end
+
+ def template_base_path= path
+ @template_base_path = Pathname.new(path)
+ end
def template_extension
@template_extension ||= 'html.mustache'
end
\ No newline at end of file