2019-08-31 04:07:25 +05:00
|
|
|
/**
|
|
|
|
* Blueprint API Configuration
|
|
|
|
* (sails.config.blueprints)
|
|
|
|
*
|
|
|
|
* For background on the blueprint API in Sails, check out:
|
|
|
|
* https://sailsjs.com/docs/reference/blueprint-api
|
|
|
|
*
|
|
|
|
* For details and more available options, see:
|
|
|
|
* https://sailsjs.com/config/blueprints
|
|
|
|
*/
|
|
|
|
|
|
|
|
module.exports.blueprints = {
|
2019-11-05 18:01:42 +05:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Automatically expose implicit routes for every action in your app?
|
|
|
|
*
|
|
|
|
*/
|
2020-08-20 15:35:46 +05:00
|
|
|
|
2019-08-31 04:07:25 +05:00
|
|
|
// actions: false,
|
2020-08-20 15:35:46 +05:00
|
|
|
|
2019-11-05 18:01:42 +05:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Automatically expose RESTful routes for your models?
|
|
|
|
*
|
|
|
|
*/
|
2020-08-20 15:35:46 +05:00
|
|
|
|
2019-08-31 04:07:25 +05:00
|
|
|
// rest: true,
|
2020-08-20 15:35:46 +05:00
|
|
|
|
2019-11-05 18:01:42 +05:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Automatically expose CRUD "shortcut" routes to GET requests?
|
|
|
|
* (These are enabled by default in development only.)
|
|
|
|
*
|
|
|
|
*/
|
2020-08-20 15:35:46 +05:00
|
|
|
|
|
|
|
shortcuts: false,
|
2019-08-31 04:07:25 +05:00
|
|
|
};
|