@vph-garage/sails-interfuser
Version:
Automizing injection of your [custom Sails.JS] hook's MVC logics (models, controllers, helpers, services, config, policies, views, and assets) from the hook's directory [presuming default structure], or specified directories, into the end-product, Sails.J
14 lines (11 loc) • 488 B
JavaScript
/**
* Created by Emmanuel Mahuni. MIT 2018
*/
module.exports.routes = {
'/before/ctrltest': 'BeforeController.beforeCtrlTest',
'/before/actiontest': 'beforeaction/test-action',
'/beforeaction/act-policy-allow': 'beforeaction/act-policy-allow',
'/beforeaction/act-policy-deny': 'beforeaction/act-policy-deny',
'/before/beforectrlpolicyallow': 'BeforeController.beforeCtrlPolicyAllow',
'/before/beforectrlpolicydeny': 'BeforeController.beforeCtrlPolicyDeny',
};