summaryrefslogtreecommitdiffstats
path: root/client/components/rules/rulesList.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/rules/rulesList.js')
-rw-r--r--client/components/rules/rulesList.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/components/rules/rulesList.js b/client/components/rules/rulesList.js
new file mode 100644
index 00000000..caafe29f
--- /dev/null
+++ b/client/components/rules/rulesList.js
@@ -0,0 +1,12 @@
+BlazeComponent.extendComponent({
+ onCreated() {
+ this.subscribe('allRules');
+ },
+
+ rules() {
+ return Rules.find({});
+ },
+ events() {
+ return [{}];
+ },
+}).register('rulesList'); \ No newline at end of file