Skip to content

Commit

Permalink
Thanks Biktop! This patches implicit default res.forbidden() response…
Browse files Browse the repository at this point in the history
…; relevant when api/responses/ is deleted. See #3667 for more info.
  • Loading branch information
mikermcneil committed Mar 30, 2016
1 parent e6e7e1e commit 4767585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hooks/responses/defaults/forbidden.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ module.exports = function forbidden (data, options) {
name: 'forbidden'
};

require('./index').buildResponse(this.req, this.res, data, options, config);
buildOutletFunction(this.req, this.res, data, options, config);

};

0 comments on commit 4767585

Please sign in to comment.