Update collection.md

This commit is contained in:
Kenza Iraki 2017-05-07 15:52:43 -04:00 committed by GitHub
parent c30c99bb97
commit 754519d74f
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import Routing
class V1Collection: RouteCollection {
typealias Wrapped = HTTP.Responder
func build<B: RouteBuilder where B.Value == Wrapped>(_ builder: B) {
func build<B: RouteBuilder>(_ builder: B) where B.Value == Wrapped {
let v1 = builder.grouped("v1")
let users = v1.grouped("users")
let articles = v1.grouped("articles")