Skip to content
Myr

docs

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 c2d5d56 · Browse files · 1 file+8 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+8 added−0 removed

  • other:+8 added−0 removed

1 file+8 added−0 removed

modified:lib/application.js+8 added
596 unmodified lines
597 fn(err);598 }599};600601/**602 * Lookup the given `view` and callback `fn(err, path)`.603 *604 * @param {String} view605 * @param {String} fn606 * @api public607 */608609app.lookup = function(view, fn){610 var root = this.set('views') || process.cwd() + '/views';611 fn(null, join(root, view));612};