提交 94f06552 编写于 作者: J Justin

Debug output of which template is being rendered

上级 ac0df989
......@@ -49,6 +49,7 @@ module Brakeman::RenderHelper
#Processes a template, adding any instance variables
#to its environment.
def process_template name, args, called_from = nil
Brakeman.debug "Rendering #{name} (#{called_from})"
#Get scanned source for this template
name = name.to_s.gsub(/^\//, "")
template = @tracker.templates[name.to_sym]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册