method
relative_path?
v4.2.1 -
Show latest stable
- Class:
ActionDispatch::Routing::Redirect
relative_path?(path)private
No documentation available.
# File actionpack/lib/action_dispatch/routing/redirection.rb, line 60
def relative_path?(path)
path && !path.empty? && path[0] != '/'
end