comfycamp/lib/comfycamp_web/controllers/admin_page_controller.ex

16 lines
414 B
Elixir
Raw Normal View History

defmodule ComfycampWeb.AdminPageController do
use ComfycampWeb, :controller
def home(conn, _params) do
conn
|> put_layout(html: :admin)
2024-08-26 22:10:51 +05:00
|> render(:home, page_title: "Админка", stylesheets: ["/assets/admin.css"])
end
def services(conn, _params) do
conn
|> put_layout(html: :admin)
2024-08-26 22:10:51 +05:00
|> render(:home, page_title: "Админка", stylesheets: ["/assets/admin.css"])
end
end