Skip to content
Myr

Removed `res.helpers()` alias of `res.locals()`

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 477d06f · Browse files · 1 file+1 added−2 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−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:lib/response.js+1 added-2 removed
448 unmodified lines
449 * @return {Object|Undefined}450 * @api public451 */452453res.locals =454res.helpers = function(obj){453res.locals = function(obj){454 if (obj) {455 for (var key in obj) {456 this.local(key, obj[key]);457 }
4 unmodified lines