class ActionDispatch::Routing::RouteWrapper

def reqs

def reqs
  @reqs ||= begin
    reqs = endpoint
    reqs += " #{constraints}" unless constraints.empty?
    reqs
  end
end