Beautyfied

This commit is contained in:
Angelo Gallarello 2018-09-14 17:39:37 +02:00
parent 30a3daa6af
commit 25da8376ca
15 changed files with 715 additions and 461 deletions

View file

@ -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;
}
});
});