From 1a9ebb59f2086e8c0087fa17ea6f1a4611cb9538 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Wed, 1 Jan 2014 22:40:27 -0700 Subject: [PATCH] apiv2: edit group as POST. Can't get PUT working with ngResource for some reason, revisit --- src/routes/apiv2.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/apiv2.coffee b/src/routes/apiv2.coffee index f8c63d3b33..ab576c9567 100644 --- a/src/routes/apiv2.coffee +++ b/src/routes/apiv2.coffee @@ -378,7 +378,8 @@ module.exports = (swagger, v2) -> "/groups/{gid}": spec: - path: '/groups/{gid}', method: 'PUT' + path: '/groups/{gid}' + method: 'POST' description: "Edit a group" params: [body('','Group object (see GroupSchema)','object')] middleware: [auth.auth, groups.attachGroup]