Route handler method Decorator. Defines a template to be rendered by the controller.
See more...
@Render(template: string)
Parameters
Option |
Type |
Description |
template
|
string |
name of the render engine template file
|
Returns
MethodDecorator
Description
For example: @Render('index')