15 lines
414 B
Elixir
15 lines
414 B
Elixir
defmodule ComfycampWeb.AdminPageController do
|
|
use ComfycampWeb, :controller
|
|
|
|
def home(conn, _params) do
|
|
conn
|
|
|> put_layout(html: :admin)
|
|
|> render(:home, page_title: "Админка", stylesheets: ["/assets/admin.css"])
|
|
end
|
|
|
|
def services(conn, _params) do
|
|
conn
|
|
|> put_layout(html: :admin)
|
|
|> render(:home, page_title: "Админка", stylesheets: ["/assets/admin.css"])
|
|
end
|
|
end
|