diff options
Diffstat (limited to 'client/components/rules/rulesList.js')
-rw-r--r-- | client/components/rules/rulesList.js | 12 |
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 |