class WebConsole::Template

Rails error pages.
It introduces template helpers to ease the inclusion of scripts only on
A facade that handles template rendering and composition.

def initialize(env, session)

def initialize(env, session)
  @env = env
  @session = session
  @mount_point = Middleware.mount_point
end

def render(template)

Render a template (inferred from +template_paths+) as a plain string.
def render(template)
  view = View.with_empty_template_cache.with_view_paths(template_paths, instance_values)
  view.render(template: template, layout: false)
end