Skip to content

Commit

Permalink
Update params.all.js
Browse files Browse the repository at this point in the history
spell chk
  • Loading branch information
jub3i committed Mar 17, 2015
1 parent f5cf006 commit 3a70c18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hooks/request/params.all.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ module.exports = function _mixinReqParamsAll(req, res) {
allParams[paramName] = allParams[paramName] || req.params[paramName];
});

// Define a new non-enuerable property: `req.allParams()`
// Define a new non-enumerable property: `req.allParams()`
req.allParams = function () {
return allParams;
};


// Define a new non-enuerable property: req.params.all()
// Define a new non-enumerable property: req.params.all()
// and make it a synonym to `req.allParams()`
// (but only if `req.params.all` doesn't already exist!)
if (!req.params.all) {
Expand Down

0 comments on commit 3a70c18

Please sign in to comment.