legendary-doc-site/apps/admin/lib/admin/routes.ex

7 lines
176 B
Elixir

defmodule Legendary.Admin.Routes do
defmacro __using__(_opts \\ []) do
quote do
use Kaffy.Routes, scope: "/admin", pipe_through: [:require_admin]
end
end
end