Skip to content

Commit c49af51

Browse files
Merge pull request #3211 from smith558/patch-2
docs(overview): add missing decorator
2 parents 5d7018d + d8e17d3 commit c49af51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/exception-filters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ For example, to set up a filter as controller-scoped, you would do the following
276276

277277
```typescript
278278
@@filename(cats.controller)
279+
@Controller()
279280
@UseFilters(new HttpExceptionFilter())
280281
export class CatsController {}
281282
```

0 commit comments

Comments
 (0)