View Source Routex.Router (Phoenix Routes Extension Framework v0.2.0-alpha.7)
Provides macro (callbacks) to alter route definition before compilation.
use Routex.RouterWhen you
use Routex.Router, the Routex.Router module will plugRoutex.Processingbetween the definition of routes and the compilation of the router module. It also imports thepreprocess_usingmacro which can be used to mark routes for Routex preprocessing using the Routex configuration/backend provided as first argument.
Link to this section Summary
Functions
Wraps each enclosed route in a scope, marking it for processing by Routex
using given backend. opts can be used to partially override the given
configuration.
Link to this section Functions
Wraps each enclosed route in a scope, marking it for processing by Routex
using given backend. opts can be used to partially override the given
configuration.