Skip to content
Myr

backported fix from 2.x for app.all() del method

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 bb56a09 · Browse files · 2 files+15 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

2 files+15 added−1 removed

  • tests:+14 added−0 removed
  • other:+1 added−1 removed

2 files+15 added−1 removed

modified:lib/application.js+1 added-1 removed
449 unmodified lines
450451app.all = function(path){452 var args = arguments;453 methods.forEach(function(method){454 if ('all' == method) return;454 if ('all' == method || 'del' == method) return;455 app[method].apply(this, args);456 }, this);457 return this;458};
67 unmodified lines
modified:test/app.all.js+14 added