@@ -16,10 +16,6 @@ public func routes(_ router: Router) throws {
16 return postModel.getPost(for: try req.parameters.next(Int.self), on: req)
16 return postModel.getPost(for: try req.parameters.next(Int.self), on: req)
19− router.get("openSockets") { (req) in
20− return OpenSockets.sockets.count
23 // Example of configuring a controller
19 // Example of configuring a controller
24 let todoController = TodoController()
20 let todoController = TodoController()
25 router.get("todos", use: todoController.index)
21 router.get("todos", use: todoController.index)