PhoenixKitAI.Routes (PhoenixKitAI v0.2.1)

Copy Markdown View Source

Route module for PhoenixKit AI admin routes.

Defines all admin LiveView routes for the AI module. Both admin_locale_routes/0 and admin_routes/0 define the same routes — one for localized paths (with /:locale prefix) and one for non-localized paths.

Called by PhoenixKit's integration via the route_module/0 callback.

Summary

Functions

Admin routes for localized paths (with /:locale prefix).

Admin routes for non-localized paths.

Functions

admin_locale_routes()

Admin routes for localized paths (with /:locale prefix).

admin_routes()

Admin routes for non-localized paths.