Module: ActionDispatch::Routing::RouteSet::MountedHelpers
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Instance Chain:
|
|
Defined in: | actionpack/lib/action_dispatch/routing/route_set.rb |
::ActionDispatch::Routing::UrlFor - Attributes & Methods
Class Method Summary
::ActiveSupport::Concern - Extended
Instance Method Summary
::ActionDispatch::Routing::UrlFor - Included
#initialize, | |
#url_for | Generate a url based on the options provided, default_url_options and the routes defined in routes.rb. |
#url_options | Hook overridden in controller to add request information with .default_url_options. |
::ActionDispatch::Routing::PolymorphicRoutes - Included
#polymorphic_path | Returns the path component of a URL for the given record. |
#polymorphic_url | Constructs a call to a named RESTful route for the given record and returns the resulting URL string. |
::ActionController::ModelNaming - Included
#convert_to_model | Converts the given object to an ::ActiveModel compliant one. |
#model_name_from_record_or_class |
Class Attribute Details
.default_url_options (rw)
[ GitHub ]# File 'actionpack/lib/action_dispatch/routing/url_for.rb', line 91
class_attribute :
.default_url_options? ⇒ Boolean
(rw)
[ GitHub ]
# File 'actionpack/lib/action_dispatch/routing/url_for.rb', line 91
class_attribute :
Instance Attribute Details
#default_url_options (rw)
[ GitHub ]# File 'actionpack/lib/action_dispatch/routing/url_for.rb', line 91
class_attribute :
#default_url_options? ⇒ Boolean
(rw)
[ GitHub ]
# File 'actionpack/lib/action_dispatch/routing/url_for.rb', line 91
class_attribute :