class

Locations::ShowPage

Inherits MainLayout < DateFormatHelper < Rosetta::Translatable < Rosetta::Translatable < Lucky::HTMLPage < Habitat::SettingsHelpers < Habitat::TempConfig < Lucky::HTMLBuilder < Lucky::SelectHelpers < Lucky::LabelHelpers < Lucky::InputHelpers < Lucky::SvgInliner < Lucky::LiveReloadTag < Lucky::TagDefaults < Lucky::RenderIfDefined < Lucky::HelpfulParagraphError < Lucky::MountComponent < Lucky::ForgeryProtectionHelpers < Lucky::TimeHelpers < Lucky::UrlHelpers < Lucky::HTMLTextHelpers < Lucky::TextHelpers < Lucky::NumberToCurrency < Lucky::AssetHelpers < Lucky::Assignable < Lucky::SpecialtyTags < Lucky::FormHelpers < Habitat::SettingsHelpers < Habitat::TempConfig < Lucky::LinkHelpers < Lucky::CustomTags < Lucky::CheckTagContent < Lucky::BaseTags < Lucky::CheckTagContent < Reference < Object

Constants

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

Constructors

new(context : HTTP::Server::Context, current_user : User, location : Location, **unused_exposures)

Instance methods

content
Source
location
page_title

MainLayout defines a default 'page_title'.

Add a 'page_title' method to your indivual pages to customize each page's title.

Or, if you want to require every page to set a title, change the 'page_title' method in this layout to:

abstract def page_title : String

This will force pages to define their own 'page_title' method.

Source