comfycamp/lib/comfycamp_web/controllers/home_controller.ex

15 lines
461 B
Elixir

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