From 754519d74f9ae69334ee23e2a1ef7454f911fdf8 Mon Sep 17 00:00:00 2001 From: Kenza Iraki Date: Sun, 7 May 2017 15:52:43 -0400 Subject: [PATCH] Update collection.md --- 1.5/routing/collection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1.5/routing/collection.md b/1.5/routing/collection.md index 8a8debed..d3c78f47 100755 --- a/1.5/routing/collection.md +++ b/1.5/routing/collection.md @@ -17,7 +17,7 @@ import Routing class V1Collection: RouteCollection { typealias Wrapped = HTTP.Responder - func build(_ builder: B) { + func build(_ builder: B) where B.Value == Wrapped { let v1 = builder.grouped("v1") let users = v1.grouped("users") let articles = v1.grouped("articles")