Skip to content

Commit

Permalink
Add note to docs about controllers (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
HypeMC authored Oct 28, 2024
1 parent 7754ec3 commit c133933
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ entities and properties, giving you greater control over purging behavior in mor

## Configuring Purge Subscriptions

Purge subscriptions can be configured using the [`#[PurgeOn]`][1] attribute.
Purge subscriptions can be configured using the [`#[PurgeOn]`][1] attribute. Controllers using this attribute **MUST**
be registered as services.

You can also configure purge subscriptions [using YAML](purge-subscriptions-using-yaml.md). This is particularly
useful if you have routes without an associated controller or action.
Expand Down

0 comments on commit c133933

Please sign in to comment.