Commit 00e3477abfc4f4b30cf09c8f09f120feb11c10d3
1 parent
52773ef6
Exists in
master
and in
4 other branches
Status router
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
translate-api/routes/video.js
| ... | ... | @@ -8,9 +8,10 @@ var express = require('express') |
| 8 | 8 | , videoController = require('../controllers/video'); |
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | - * Route to process text and create video. | |
| 11 | + * Route to process gloss and create video. | |
| 12 | 12 | */ |
| 13 | 13 | router |
| 14 | - .post('/', videoController.createVideo) | |
| 14 | + .post('/', videoController.create) | |
| 15 | + .get('/status/:id', videoController.status) | |
| 15 | 16 | |
| 16 | 17 | module.exports = router; | ... | ... |