wiki/lib/wiki_web/views/user_session_view.ex

8 lines
161 B
Elixir

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