View Source Routex.Router (Phoenix Routes Extension Framework v0.1.0-alpha.3)
Provides macro (callbacks) to alter route definition before compilation.
Link to this section Summary
Functions
Macro callback that plugs Routex.Processing
between route definition and
compilation of the router module. It also imports the preprocess_using
macro which can be used to mark routes with a Routex configuration for Routex
processing.
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
@spec __using__(opts :: list()) :: Macro.output()
Macro callback that plugs Routex.Processing
between route definition and
compilation of the router module. It also imports the preprocess_using
macro which can be used to mark routes with a Routex configuration for Routex
processing.
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.