forked from potsda.mn/mobilizon
7e137d1a1c
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
15 lines
296 B
Elixir
15 lines
296 B
Elixir
defmodule MobilizonWeb.PageController do
|
|
@moduledoc """
|
|
Controller to load our webapp
|
|
"""
|
|
use MobilizonWeb, :controller
|
|
|
|
plug(:put_layout, false)
|
|
|
|
def index(conn, _params) do
|
|
conn
|
|
|> put_resp_content_type("text/html")
|
|
|> send_file(200, "priv/static/index.html")
|
|
end
|
|
end
|