View Source ZoonkWeb.Controller.Accounts.Age (Zoonk v0.1.0-alpha)
Renders a page warning users that they don't meet the minimum age requirement.
This page is rendered when a route doesn't pass the checks done by the ZoonkWeb.Plugs.AgeChecker
plug.
Link to this section Summary
Functions
Renders the page.
Link to this section Functions
@spec index(Plug.Conn.t(), Plug.Conn.params()) :: Plug.Conn.t()
Renders the page.
This is reponsible for:
- Setting the page title
- Rendering the page using the
auth
layout to avoid showing the main navigation.