comfycamp/lib/comfycamp_web/controllers/home_controller.ex

15 lines
356 B
Elixir

defmodule ComfycampWeb.HomeController do
use ComfycampWeb, :controller
def index(conn, _params) do
render(conn, :index, page_title: "Главная")
end
def mastodon(conn, _params) do
render(conn, :mastodon, page_title: "Mastodon")
end
def nextcloud(conn, _params) do
render(conn, :nextcloud, page_title: "Nextcloud")
end
end