Centralized path helpers. Every link and redirect in this module goes through
PhoenixKit.Utils.Routes.path/1, which applies the host's URL prefix and the
current locale — PhoenixKit paths are never hardcoded, and relative hrefs
break as soon as the current URL has one more segment than you assumed.
Summary
Functions
A vault's membership page.
The "create this note" page for a title that doesn't exist yet — where an
unresolved [[wiki-link]] points.
A single note inside a vault.
A vault's workspace.
The vault list.
Functions
A vault's membership page.
The "create this note" page for a title that doesn't exist yet — where an
unresolved [[wiki-link]] points.
A page with a Create button rather than a URL that creates on GET: a link that writes to the database when a browser prefetches it, or when someone refreshes, is a trap.
A single note inside a vault.
A vault's workspace.
@spec vaults() :: String.t()
The vault list.