method
url_options
v3.2.13 -
Show latest stable
-
1 note -
Class: ActionView::Helpers::UrlHelper
- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.8
- 3.0.0 (0)
- 3.0.9 (-3)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2
- 4.1.8
- 4.2.1
- 4.2.7
- 4.2.9
- 5.0.0.1
- 5.1.7
- 5.2.3
- 6.0.0
- 6.1.3.1
- 6.1.7.7
- 7.0.0
- 7.1.3.2
- 7.1.3.4
- What's this?
url_options()
public
Need to map default url options to controller one. def default_url_options(*args) #:nodoc:
controller.send(:default_url_options, *args)
end
Register or
log in
to add new notes.
fernyb -
August 8, 2010
0 thanks
Path Segments
url_options Returns a hash with path segments.
Example:
{:_path_segments=>{:action=>"show", :location=>"los-angeles-ca", :controller=>"city"}, :script_name=>"", :protocol=>"http://", :host=>"localhost:3000"}