mirror of https://github.com/vapor/docs.git
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`.
This commit is contained in:
parent
c55e634d0a
commit
8a4b68ea71
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue