wiki/lib/wiki_web/views/user_session_view.ex

8 lines
161 B
Elixir
Raw Normal View History

2020-07-30 00:49:51 +00:00
defmodule WikiWeb.UserSessionView do
use WikiWeb, :view
2020-08-02 22:35:14 +00:00
def registration_enabled() do
Application.get_env(:wiki, :registration_enabled, true)
end
2020-07-30 00:49:51 +00:00
end