lib/negroku/helpers/templates.rb in negroku-2.0.0.pre5 vs lib/negroku/helpers/templates.rb in negroku-2.0.0.pre6
- old
+ new
@@ -1,8 +1,9 @@
require "erb"
# Build the template
def build_template(template, destination, binding)
+
template_file = get_template_file(template)
result = ERB.new(template_file, nil, '-').result(binding)
if destination