class ActionDispatch::Journey::Route

def required_parts

def required_parts
  @required_parts ||= path.required_names.map(&:to_sym)
end