struct CurrentUser::ShowPage

Included Modules

Defined in:

pages/current_user/show_page.cr

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

def self.new(context : HTTP::Server::Context, user : User, **unused_exposures) #

Instance Method Detail

def content #

[View source]
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]
def user : User #