PhoenixKitManufacturing.Paths (PhoenixKitManufacturing v0.2.0)

Copy Markdown View Source

Centralized path helpers for the Manufacturing module.

All paths go through PhoenixKit.Utils.Routes.path/1 for prefix/locale handling. Never hardcode "/admin/manufacturing" in a LiveView or template — use these helpers instead so URL prefix changes only need updating here.

Summary

Functions

Manufacturing dashboard (module landing).

Edit machine form.

New machine form.

Machines list.

Edit machine type form.

New machine type form.

Machine types list.

Functions

index()

@spec index() :: String.t()

Manufacturing dashboard (module landing).

machine_edit(uuid)

@spec machine_edit(String.t()) :: String.t()

Edit machine form.

machine_new()

@spec machine_new() :: String.t()

New machine form.

machines()

@spec machines() :: String.t()

Machines list.

type_edit(uuid)

@spec type_edit(String.t()) :: String.t()

Edit machine type form.

type_new()

@spec type_new() :: String.t()

New machine type form.

types()

@spec types() :: String.t()

Machine types list.