abstract class MainLayout
- MainLayout
- Reference
- Object
Overview
Parent class for all pages distinguishing between users and guests.
The current_user can be nil, meaning that even a guest can enter its children if those do not overwrite this variable. In this class the header and footer are mounted and the header is given the information wether or not to display the logout button and email.
Included Modules
- Lucky::HTMLPage
Direct Known Subclasses
Defined in:
pages/main_layout.crConstant Summary
-
ASSIGNS =
[context : HTTP::Server::Context, current_user : User | ::Nil] of Nil