method
relative_path?
v7.1.3.4 -
Show latest stable
- Class:
ActionDispatch::Routing::Redirect
relative_path?(path)private
No documentation available.
# File actionpack/lib/action_dispatch/routing/redirection.rb, line 70
def relative_path?(path)
path && !path.empty? && !path.start_with?("/")
end