Express Post Request to Edit Post · router.post('/:id/edit', auth.requireLogin, (req, res, next) => { · Post.findByIdAndUpdate(req.params.id, req.body, function( ...
確定! 回上一頁