Skip to content

Commit

Permalink
Merge pull request #107 from kuzzleio/putrole-rest-route
Browse files Browse the repository at this point in the history
rest route for admin/putRole should include the role id
  • Loading branch information
scottinet committed Dec 17, 2015
2 parents 3130f3e + c3fd52b commit 44e1a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/controllers/routerController.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = function RouterController (kuzzle) {
{verb: 'post', url: '/_getStats', controller: 'admin', action: 'getStats'},
{verb: 'get', url: '/_getAllStats', controller: 'admin', action: 'getAllStats'},
{verb: 'get', url: '/_now', controller: 'read', action: 'now'},
{verb: 'put', url: '/_role', controller: 'admin', action: 'putRole'},
{verb: 'put', url: '/_role/:id', controller: 'admin', action: 'putRole'},
{verb: 'get', url: '/_listSubscriptions', controller: 'subscribe', action: 'list'},
{verb: 'get', url: '/:collection/_mapping', controller: 'admin', action: 'getMapping'},
{verb: 'get', url: '/:collection/:id', controller: 'read', action: 'get'},
Expand Down

0 comments on commit 44e1a29

Please sign in to comment.