module UrlFor
Ruby on Rails 7.1.6
Since v3.1.12URL For
Includes 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 (5)
- # optimize_routes_generation?
- # route_for
- # url_for
- # url_options
- self. new
From ActiveSupport::Concern (3)
- # class_methods
- # included
- # prepended