Skip to content

Commit

Permalink
Make deprecated message more context specific
Browse files Browse the repository at this point in the history
  • Loading branch information
hilljh82 committed Dec 21, 2016
1 parent 05a00cb commit baa4324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ResourceController.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ ResourceController.prototype.delete = notFound;

// aggregation functions
ResourceController.prototype.count = notFound;
ResourceController.prototype.outdated = util.deprecate (notFound, 'Use HEAD and Last-Modified HTTP headers');
ResourceController.prototype.allOutdated = util.deprecate (notFound,'Use HEAD and Last-Modified HTTP headers');
ResourceController.prototype.outdated = util.deprecate (notFound, '/outdated: Use HEAD and Last-Modified HTTP headers');
ResourceController.prototype.allOutdated = util.deprecate (notFound, '/:rcId/outdated: Use HEAD and Last-Modified HTTP headers');

0 comments on commit baa4324

Please sign in to comment.