class ActionDispatch::Routing::Redirect

def relative_path?(path)

def relative_path?(path)
  path && !path.empty? && !path.start_with?("/")
end