class PasswordResets::NewPage
- PasswordResets::NewPage
- AuthLayout
- Reference
- Object
Defined in:
pages/password_resets/new_page.crConstant Summary
-
ASSIGNS =
[context : HTTP::Server::Context, operation : ResetPassword, user_id : UUID] of Nil
Constructors
- .new(context : HTTP::Server::Context, operation : ResetPassword, user_id : UUID, **unused_exposures)
Instance Method Summary
- #content
- #operation : ResetPassword
-
#page_title
The default page title.
- #user_id : UUID
Instance methods inherited from class AuthLayout
content
content,
page_title
page_title,
render
render
Constructor Detail
def self.new(context : HTTP::Server::Context, operation : ResetPassword, user_id : UUID, **unused_exposures)
#
Instance Method Detail
def page_title
#
Description copied from class AuthLayout
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.