Current section

Files

Jump to
raxx_kit priv template lib app_name www not_found_page.ex.eex
Raw

priv/template/lib/app_name/www/not_found_page.ex.eex

defmodule <%= @module %>.WWW.NotFoundPage do
use Raxx.Server
use <%= @module %>.WWW.Layout, arguments: []
@impl Raxx.Server
def handle_request(_request, _state) do
response(:not_found)
|> render()
end
end