summaryrefslogtreecommitdiffstats
path: root/models/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/rules.js')
-rw-r--r--models/rules.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/rules.js b/models/rules.js
index 778622c4..271e6b52 100644
--- a/models/rules.js
+++ b/models/rules.js
@@ -21,6 +21,11 @@ Rules.mutations({
},
});
+Rules.helpers({
+ getAction(){
+ return Actions.findOne({_id:this.actionId});
+ },
+});