def render_template(path, variables = {})
Ramaze.deprecated('Helper::Partial#render_template')
path = path.to_s
ext = File.extname(path)
basename = File.basename(path, ext)
action = Innate::Current.action.dup
action.layout = nil
action.view = action.node.find_view(basename, 'html')
action.method = action.node.find_method(basename, action.params)
action.variables = action.variables.merge(variables)
action.sync_variables(action)
return action.call if action.valid?
raise(ArgumentError, "cannot render %p" % path)
end