summaryrefslogtreecommitdiffstats
path: root/models/actions.js
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-14 17:39:37 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-14 17:39:37 +0200
commit25da8376ca2ee3b7bedadf924557d4d7bb6c6771 (patch)
treea96f00a3a050ea90385e6cd56cf15516cf4e437e /models/actions.js
parent30a3daa6af179009ac17b40a71bf3f9e9b1d698a (diff)
downloadwekan-25da8376ca2ee3b7bedadf924557d4d7bb6c6771.tar.gz
wekan-25da8376ca2ee3b7bedadf924557d4d7bb6c6771.tar.bz2
wekan-25da8376ca2ee3b7bedadf924557d4d7bb6c6771.zip
Beautyfied
Diffstat (limited to 'models/actions.js')
-rw-r--r--models/actions.js15
1 files changed, 1 insertions, 14 deletions
diff --git a/models/actions.js b/models/actions.js
index 8062b545..82ab0d19 100644
--- a/models/actions.js
+++ b/models/actions.js
@@ -1,6 +1,5 @@
Actions = new Mongo.Collection('actions');
-
Actions.allow({
insert(userId, doc) {
return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId));
@@ -13,20 +12,8 @@ Actions.allow({
}
});
-
Actions.helpers({
description() {
return this.desc;
}
-});
-
-
-
-
-
-
-
-
-
-
-
+}); \ No newline at end of file