abstract class MainLayout

Included Modules

Direct Known Subclasses

Defined in:

pages/main_layout.cr

Constant Summary

ASSIGNS = [context : HTTP::Server::Context, current_user : User] of Nil

Instance Method Summary

Instance Method Detail

abstract def content #

[View source]
def current_user #

'needs current_user : User' makes it so that the current_user is always required for pages using MainLayout


abstract def page_title #

[View source]
def render #

[View source]