Skip to content
Myr

Added isLayout back

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent be866a7 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:lib/express/view.js+1 added
243 unmodified lines
244 }245246 // Layout support247 if (layout) {248 options.isLayout = true;249 options.layout = false;250 options.body = str;251 options.relative = false;252 self.render(layout, options, fn, view);
8 unmodified lines