method
build_expanded_path
v6.0.0 -
Show latest stable
- Class:
ActionDispatch::Integration::Session
build_expanded_path(path)private
No documentation available.
# File actionpack/lib/action_dispatch/testing/integration.rb, line 299
def build_expanded_path(path)
location = URI.parse(path)
yield location if block_given?
path = location.path
location.query ? "#{path}?#{location.query}" : path
end