def decorate(templates, path_info, details, locals)
      templates.each do |t|
        t.locals = locals
      end
    end
def decorate(templates, path_info, details, locals)
      templates.each do |t|
        t.locals = locals
      end
    end
Ensures all the resolver information is set in the template.