Flowdock
method

url_options

Importance_1
v3.0.5 - Show latest stable - 1 note - Class: ActionView::Helpers::UrlHelper
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

Show source
Register or log in to add new notes.
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"}