From 8a4b68ea71588d7e0f3faf279241321599a63298 Mon Sep 17 00:00:00 2001 From: "Brett R. Toomey" Date: Sun, 7 Aug 2016 00:31:24 -0700 Subject: [PATCH] RouteCollection is in Routing package When following along, Xcode could't resolve `RouteCollection`. After jumping through some packages, I realized that it's in `Routing`. --- routing/collection.md | 1 + 1 file changed, 1 insertion(+) diff --git a/routing/collection.md b/routing/collection.md index 96561a80..8270d8fd 100644 --- a/routing/collection.md +++ b/routing/collection.md @@ -13,6 +13,7 @@ Here is an example of a route collection for the `v1` portion of an API. ```swift import Vapor import HTTP +import Routing class V1Collection: RouteCollection { typealias Wrapped = HTTP.Responder