lib/xml/kit/template.rb in xml-kit-0.1.0 vs lib/xml/kit/template.rb in xml-kit-0.1.1
- old
+ new
@@ -19,10 +19,10 @@
def template_path
return target.template_path if target.respond_to?(:template_path)
root_path = File.expand_path(File.dirname(__FILE__))
template_name = "#{target.class.name.split("::").last.underscore}.builder"
- File.join(root_path, "builders/templates/", template_name)
+ File.join(root_path, "templates/", template_name)
end
def template
Tilt.new(template_path)
end