mirror of https://github.com/vapor/docs.git
Merge pull request #12 from BrettRToomey/patch-1
RouteCollection is in Routing package
This commit is contained in:
commit
524039dec7
|
|
@ -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