method
url_options
v3.0.5 -
Show latest stable
-
1 note -
Class: ActionView::Helpers::UrlHelper
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.6
- 1.2.0
- 1.2.6
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.2
- 2.3.8
- 3.0.0 (0)
- 3.0.5 (0)
- 3.0.7 (0)
- 3.0.9 (-38)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.3 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 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"}


