class ActionDispatch::Journey::Route

def segments

def segments
  path.names
end