abstract class GuestLayout

Included Modules

Direct Known Subclasses

Defined in:

pages/guest_layout.cr

Constant Summary

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

Instance Method Summary

Instance Method Detail

abstract def content #

[View source]
def current_user #

def page_title #

The default page title. It is passed to Shared::LayoutHead.

Add a #page_title method to pages to override it. You can also remove This method so every page is required to have its own page title.


[View source]
def render #

[View source]