Skip to content
Myr

do not try ../index when rendering a layout

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 2b907e9 · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/view.js+1 added-1 removed
234 unmodified lines
235 : new View(orig.indexPath, options);236 }237238 // Ensure view exists, or try ../index239 if (!view.exists) {239 if (!view.exists && !options.isLayout) {240 view = partial241 ? new Partial(orig.upIndexPath, options)242 : new View(orig.upIndexPath, options);243 }
60 unmodified lines