Skip to content

Commit

Permalink
Don't rely on global _
Browse files Browse the repository at this point in the history
  • Loading branch information
sgress454 committed Dec 30, 2014
1 parent ff53d51 commit fd6d5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hooks/userhooks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function(sails) {
hooks = util.isObject(hooks) ? hooks : {};

// Add the user hooks to the list of hooks to load
_.extend(sails.hooks, hooks);
util.extend(sails.hooks, hooks);

return cb();

Expand Down

0 comments on commit fd6d5ee

Please sign in to comment.