module UrlFor
Ruby on Rails 4.1.16
Since v3.1.12Includes url_for into the host class (e.g. an abstract controller or mailer). The class has to provide a RouteSet by implementing the _routes methods. Otherwise, an exception will be raised.
Note that this module is completely decoupled from HTTP - the only requirement is a valid _routes implementation.
Namespace
Modules
Includes
Extends
Methods (defined here)
- # _routes
Used by
Included by (1)
Methods (inherited)
From ActionDispatch::Routing::UrlFor (6)
- # _routes_context
- # _with_routes
- # optimize_routes_generation?
- # url_for
- # url_options
- self. new