Encapsulated route from matching and redirect methods