aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/web.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/web.js b/routes/web.js
index 732c87c..ee07d85 100644
--- a/routes/web.js
+++ b/routes/web.js
@@ -5,5 +5,6 @@ const postController = require('../controllers/post');
router.get('/', postController.index);
router.get('/new-post', postController.create);
router.post('/new-post', postController.store);
+router.get('/remove-post/:id', postController.destroy);
module.exports = router;