# File lib/brakeman/processors/controller_alias_processor.rb, line 177 def process_template name, args, _, line # If line is null, assume implicit render and set the end of the action # method as the line number if line.nil? and controller = @tracker.controllers[@current_class] if meth = controller.get_method(@current_method) if line = meth[:src] && meth[:src].last && meth[:src].last.line line += 1 else line = 1 end end end render_path = Brakeman::RenderPath.new.add_controller_render(@current_class, @current_method, line, relative_path(@file_name)) super name, args, render_path, line end