diff options
author | Angelo Gallarello <angelo.gallarell@gmail.com> | 2018-09-14 17:39:37 +0200 |
---|---|---|
committer | Angelo Gallarello <angelo.gallarell@gmail.com> | 2018-09-14 17:39:37 +0200 |
commit | 25da8376ca2ee3b7bedadf924557d4d7bb6c6771 (patch) | |
tree | a96f00a3a050ea90385e6cd56cf15516cf4e437e /models | |
parent | 30a3daa6af179009ac17b40a71bf3f9e9b1d698a (diff) | |
download | wekan-25da8376ca2ee3b7bedadf924557d4d7bb6c6771.tar.gz wekan-25da8376ca2ee3b7bedadf924557d4d7bb6c6771.tar.bz2 wekan-25da8376ca2ee3b7bedadf924557d4d7bb6c6771.zip |
Beautyfied
Diffstat (limited to 'models')
-rw-r--r-- | models/actions.js | 15 |
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 |