From 5eb553707c18ca2df5a0c87bcc670e8fd311f981 Mon Sep 17 00:00:00 2001 From: Ashok Gelal Date: Sun, 15 Jan 2017 13:24:06 -0700 Subject: [PATCH] Simplify No need to add constraints here as it is implicit. --- routing/collection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/collection.md b/routing/collection.md index 8270d8fd..ceaf3b69 100644 --- a/routing/collection.md +++ b/routing/collection.md @@ -17,7 +17,7 @@ import Routing class V1Collection: RouteCollection { typealias Wrapped = HTTP.Responder - func build(_ builder: B) { + func build(_ builder: B) { let v1 = builder.grouped("v1") let users = v1.grouped("users") let articles = v1.grouped("articles")