Created
April 9, 2020 10:21
-
-
Save cweinberger/f3c70a8bd2916cd6c57f69766d57d4e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1 | |
let apiRoutes = app.grouped("api", "v1") | |
// 2 | |
try apiRoutes.grouped("books").register(collection: bookAPIController) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment