module

Orion::Controller::Rendering

This module handles all rendering inside your controllers.

Constructors

new(context, websocket = nil)
Source

Macros

layout(filename)
Source
render(*, view, layout = true)

Render a view

Source
render(*, partial)

Render a view partial

Source
render(*, json)

Render json

Source
render(*, text, content_type = "text/plain")

Render plain text

Source