Skip to content
Myr

implement app.route()

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

authored by Roman Shtylman · committed by Roman Shtylman · parent 07b731a · Browse files · 2 files+22 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

2 files+22 added−0 removed

  • tests:+20 added−0 removed
  • other:+2 added−0 removed

2 files+22 added−0 removed

modified:lib/application.js+2 added
212 unmodified lines
213 * @api public214 */215216app.route = function(path){217 this.lazyrouter();218 return this._router.route(path);219};220221/**222 * Register the given template engine callback `fn`
319 unmodified lines
added:test/app.route.js+20 added