Skip to content
Myr

Optionally set partials directory

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

authored by Nick Poulden · committed by Tj Holowaychuk · parent 0bb7b7c · 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/express/view.js+1 added-1 removed
188 unmodified lines
189 }190191 // Partials support192 if (options.partial) {193 root += '/partials';193 root += (typeof this.app.set('partials') === 'string') ? this.app.set('partials') : '/partials';194 }195196 // View path197 var path = view[0] === '/'
68 unmodified lines