Revert "Simplify"

This reverts commit 5eb553707c.
This commit is contained in:
Ashok Gelal 2017-01-15 13:39:00 -07:00
parent 5eb553707c
commit ec05fb5aee
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>(_ builder: B) {
func build<B: RouteBuilder where B.Value == Wrapped>(_ builder: B) {
let v1 = builder.grouped("v1")
let users = v1.grouped("users")
let articles = v1.grouped("articles")