defmodule WikiWeb.LayoutView do use WikiWeb, :view def registration_enabled() do Application.get_env(:wiki, :registration_enabled, true) end end