instance method
url_options
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.2.22.5Signature
url_options()
Need to map default url options to controller one. def default_url_options(*args) #:nodoc:
controller.send(:default_url_options, *args)
end
Source
# File actionpack/lib/action_view/helpers/url_helper.rb, line 30
def url_options
return super unless controller.respond_to?(:url_options)
controller.url_options
end
Defined in actionpack/lib/action_view/helpers/url_helper.rb line 30
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::UrlHelper