put route for group.update

This commit is contained in:
Matteo Pagliazzi
2013-11-06 20:30:29 +01:00
parent abbf09eaaa
commit 0e48cb483a
+1
View File
@@ -65,6 +65,7 @@ router.get('/groups', auth.auth, groups.list);
router.post('/groups', auth.auth, groups.create);
router.get('/groups/:gid', auth.auth, groups.get);
router.post('/groups/:gid', auth.auth, groups.attachGroup, groups.update);
router.put('/groups/:gid', auth.auth, groups.attachGroup, groups.update);
//DELETE /groups/:gid
router.post('/groups/:gid/join', auth.auth, groups.attachGroup, groups.join);