Skip to content

Commit

Permalink
res.created() will not be included by default in Sails v1 (barring an…
Browse files Browse the repository at this point in the history
…y proposals related to: 05ab0a7)
  • Loading branch information
mikermcneil committed Oct 20, 2016
1 parent b7923cc commit 7988866
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
35 changes: 0 additions & 35 deletions lib/hooks/responses/defaults/created.js

This file was deleted.

1 change: 0 additions & 1 deletion lib/hooks/responses/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ module.exports = function(sails) {
// Mix in the built-in default definitions for custom responses.
_.defaults(responseDefs, {
ok: require('./defaults/ok'),
created: require('./defaults/created'),
negotiate: require('./defaults/negotiate'),
notFound: require('./defaults/notFound'),
serverError: require('./defaults/serverError'),
Expand Down

0 comments on commit 7988866

Please sign in to comment.