instance method url_options

Ruby on Rails 3.1.12

Since v3.0.20 Last seen in v3.2.22.5

Available in: v3.0.20 v3.1.12 v3.2.22.5

Signature

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 35
      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 35 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::Helpers::UrlHelper

Type at least 2 characters to search.

↑↓ navigate · open · esc close