You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -88,15 +92,15 @@ Mmdule.exports = class EjsView {
88
92
89
93
The three parameters of the `render` method are:
90
94
91
-
- filename: is the path to the complete file. The framework determines if the file exists when looking for the file. It does not need to be processed here.
92
-
- locals: The data needs rendering. It comes from `app.locals`, `ctx.locals` and calls `render` methods. The framework also has built in `ctx`, `request`, `ctx.helper` objects.
93
-
- viewOptions: The incoming configuration of the user, which can override the default configuration of the template engine. This can be considered based on the characteristics of the template engine. For example, the cache is enabled by default but a page does not need to be cached.
95
+
-`filename`: is the path to the complete file. The framework determines if the file exists when looking for the file. It does not need to be processed here.
96
+
-`locals`: The data needs rendering. It comes from `app.locals`, `ctx.locals` and calls `render` methods. The framework also has built in `ctx`, `request`, `ctx.helper` objects.
97
+
-`viewOptions`: The incoming configuration of the user, which can override the default configuration of the template engine. This can be considered based on the characteristics of the template engine. For example, the cache is enabled by default but a page does not need to be cached.
94
98
95
99
The three parameters of the `renderString` method:
0 commit comments