lib/erb_asterisk/render.rb in erb_asterisk-0.0.13 vs lib/erb_asterisk/render.rb in erb_asterisk-0.0.14
- old
+ new
@@ -1,8 +1,10 @@
module ErbAsterisk
module Render
# Render template
def render(template, vars = {})
+ log_debug("render: #{template}", 2)
+
old_erb_output = @erb_output
@erb_output = ''
erb = new_erb(read_template(template))