class method
self.url_for
Ruby on Rails 6.1.7.10
Since v3.1.12Signature
self.url_for(options)
No documentation comment.
Parameters
-
optionsreq
Source
# File actionpack/lib/action_dispatch/http/url.rb, line 50
def url_for(options)
if options[:only_path]
path_for options
else
full_url_for options
end
end
Defined in actionpack/lib/action_dispatch/http/url.rb line 50
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::URL