Sails V1 removed custom blueprint thus we need some way to compensate for that.
My inspiration came from https://github.com/sgress454/sails-hook-custom-blueprints who simply uses sails.registerAction which also happens to be something we can use to test to differentiate sails 0.* and 1.
Sails V1 removed custom blueprint thus we need some way to compensate for that. My inspiration came from https://github.com/sgress454/sails-hook-custom-blueprints who simply uses
sails.registerAction
which also happens to be something we can use to test to differentiate sails 0.* and 1.