PhoenixKitBoards.Routes (PhoenixKitBoards v0.2.0)

Copy Markdown View Source

Route macros for the two board admin pages: the list (/admin/boards) and a single board (/admin/boards/:id). Returned from PhoenixKitBoards.route_module/0; PhoenixKit injects these inside the admin live_session (auth + admin layout applied automatically).

Both localized (/:locale/admin/...) and non-localized sets are defined, as required — each route needs a unique :as.

Summary

Functions

Localized admin routes (inside the /:locale scope).

Non-localized admin routes.

Functions

admin_locale_routes()

Localized admin routes (inside the /:locale scope).

admin_routes()

Non-localized admin routes.