Skip to content

Commit 5addb5a

Browse files
authored
Merge pull request #76 from krisleech/patch-1
Update README.md to show custom modules example
2 parents ba1e60c + 5c6cd70 commit 5addb5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ config :my_app, WalEx,
125125
subscriptions: ["user", "todo"],
126126
# WalEx assumes your module names match this pattern: MyApp.Events.User, MyApp.Events.ToDo, etc
127127
# but you can also specify custom modules like so:
128-
# modules: [MyApp.CustomModule, MyApp.OtherCustomModule],
128+
# modules: [MyApp.CustomModule.User, MyApp.OtherCustomModule.ToDo],
129129
name: MyApp
130130
```
131131

@@ -369,4 +369,4 @@ You'll need a local Postgres instance running
369369
```bash
370370
MIX_ENV=test mix walex.setup
371371
MIX_ENV=test mix test
372-
```
372+
```

0 commit comments

Comments
 (0)