wiki/lib/wiki_web/views/layout_view.ex

8 lines
156 B
Elixir

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