Created
December 6, 2014 19:12
-
-
Save khanghoang/6ac79587ab4f21b4c7ab to your computer and use it in GitHub Desktop.
Get _sails variable in policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function forbidden (data, options) { | |
var req = this.req; | |
var res = this.res; | |
var sails = req._sails; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment