You're seeing just the macro
ash_admin, go back to AshAdmin.Router module for more information.
Defines an AshAdmin route.
It expects the
path the admin dashboard will be mounted at
and a set of options.
:apis- The list of Apis to include in the admin dashboard
defmodule MyAppWeb.Router do use Phoenix.Router
scope "/" do
import AshAdmin.Router # Make sure you are piping through the browser pipeline # If you don't have one, see `admin_browser_pipeline/1` pipe_through [:browser] ash_admin "/admin", apis: [MyApp.Api1, MyApp.Api2]