summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authormayjs <johannes.may@udo.edu>2017-05-16 17:35:14 +0200
committermayjs <johannes.may@udo.edu>2017-05-16 17:35:14 +0200
commite3fab5380690b955db7408f32b98b97f46497034 (patch)
tree8bd5c9a76905cc8e8efe81f6003c7b8dc6b124b0 /models
parent058aabff68ceb822edb74248f1263da6590cbe1e (diff)
downloadwekan-e3fab5380690b955db7408f32b98b97f46497034.tar.gz
wekan-e3fab5380690b955db7408f32b98b97f46497034.tar.bz2
wekan-e3fab5380690b955db7408f32b98b97f46497034.zip
Fixed a typo..
Diffstat (limited to 'models')
-rw-r--r--models/boards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/boards.js b/models/boards.js
index 5908dee9..8a7844e2 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -556,7 +556,7 @@ if (Meteor.isServer) {
//BOARDS REST API
if (Meteor.isServer) {
- JsonRoutes.add('GET', '/api/user/:userId/boards', function (req, res, next) {
+ JsonRoutes.add('GET', '/api/users/:userId/boards', function (req, res, next) {
Authentication.checkLoggedIn(req.userId);
const paramUserId = req.params.userId;
// A normal user should be able to see their own boards,