Skip to content

Commit

Permalink
update docs to describe config
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell committed Apr 29, 2021
1 parent 3414ddf commit 47b5bd5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ See [here](https://github.com/transformstudios/statamic-events/blob/master/event

## Settings

In the addon settings, pick the collection that has your Events.
Publish the config with `php artisan vendor:publish --tag=event-config`.

Should look like:
```yaml
events_collection: events
Then you can set the collection to use:
```php
return [
'events_collection' => 'events',
];
```

## Templating
Expand Down

0 comments on commit 47b5bd5

Please sign in to comment.