index.js
function (methods) {
    this.lazyRouter();
    this.router.method(methods);
    utils.arrayify(methods).forEach(function (method) {
      this.define(method, function(path) {
        var route = this.router.route(path);
        var args = [].slice.call(arguments, 1);
        route[method].apply(route, args);
        return this;
      }.bind(this));
    }.bind(this));
  }
function (methods) {
    this.lazyRouter();
    this.router.method(methods);
    utils.arrayify(methods).forEach(function (method) {
      this.define(method, function(path) {
        var route = this.router.route(path);
        var args = [].slice.call(arguments, 1);
        route[method].apply(route, args);
        return this;
      }.bind(this));
    }.bind(this));
  }
function ( methods ) { this . lazyRouter ( ) ; this . router . method ( methods ) ; utils . arrayify ( methods ) . forEach ( function ( method ) { this . define ( method , function ( path ) { var route = this . router . route ( path ) ; var args = [ ] . slice . call ( arguments , 1 ) ; route [ method ] . apply ( route , args ) ; return this ; } . bind ( this ) ) ; } . bind ( this ) ) ; }
Add default Router handlers to Template.
Add default Router handlers to Template .