Last active
August 25, 2017 20:38
-
-
Save codemwnci/13adfeafb15308795a193772e9153f66 to your computer and use it in GitHub Desktop.
Get a single Todo
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
get(":id") { req, res -> | |
jacksonObjectMapper().writeValueAsString( getTodo(req.params("id").toLong()) ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment