Last active
May 31, 2018 13:37
-
-
Save hsharghi/afacccda0a6f531827830ae17ea437d8 to your computer and use it in GitHub Desktop.
Routes for Blog API using Vapor 3
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
import Vapor | |
public func routes(_ router: Router) throws { | |
try router.register(collection: UserController()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment