Skip to content

Commit d8e17d3

Browse files
authored
Add missing decorator
1 parent 5d7018d commit d8e17d3

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)