struct Users::Logins::IndexPage

Included Modules

Defined in:

pages/users/logins/index_page.cr

Constant Summary

ASSIGNS = [context : HTTP::Server::Context, logins : Array(Login), user : User, pages : Lucky::Paginator] of Nil

Constructors

Instance Method Summary

Constructor Detail

def self.new(context : HTTP::Server::Context, logins : Array(Login), user : User, pages : Lucky::Paginator, **unused_exposures) #

Instance Method Detail

def content #

[View source]
def logins : Array(Login) #

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 pages : Lucky::Paginator #

def render #

[View source]
def user : User #