From 25da8376ca2ee3b7bedadf924557d4d7bb6c6771 Mon Sep 17 00:00:00 2001 From: Angelo Gallarello Date: Fri, 14 Sep 2018 17:39:37 +0200 Subject: Beautyfied --- models/actions.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'models') 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 -- cgit v1.2.3-1-g7c22