instance method
build_expanded_path
Ruby on Rails 8.1.2
Since v5.2.8.1 PrivateSignature
build_expanded_path(path)
No documentation comment.
Parameters
-
pathreq
Source
# File actionpack/lib/action_dispatch/testing/integration.rb, line 326
def build_expanded_path(path)
location = URI.parse(path)
yield location if block_given?
path = location.path
location.query ? "#{path}?#{location.query}" : path
end
Defined in actionpack/lib/action_dispatch/testing/integration.rb line 326
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Integration::Session