Skip to content

Commit 0b48c35

Browse files
authored
fix(content/techniques): Import Res decorator from @express/common
1 parent ddc52be commit 0b48c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/mvc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ If the application logic must dynamically decide which template to render, then
102102
103103
```typescript
104104
@@filename(app.controller)
105-
import { Get, Controller, Render } from '@nestjs/common';
105+
import { Get, Controller, Res, Render } from '@nestjs/common';
106106
import { Response } from 'express';
107107
import { AppService } from './app.service';
108108

0 commit comments

Comments
 (0)