Configure Elixir routing
1518-routing_ed3ee4b4skillsetup L1★4
tools-only/X-Skills ↗What it does
Define verified Phoenix router pipelines and resource routes
Best for
Composes auth pipelines and shallow-nested resources for type-safe routing.
Inputs
- · [object Object]
- · [object Object]
Outputs
- · [object Object]
- · [object Object]
Preconditions
Phoenix app initialized; plugs defined; resources with limited actions
Failure modes
- · Nested resources >1 level create verbose URLs
- · ~p sigil fails at runtime if route doesn't exist
Trust signals
- · ~p sigil compile-time verification
- · Shallow nesting (max 1 level)
- · only: clause limits actions