blueprints.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * Blueprint API Configuration
  3. * (sails.config.blueprints)
  4. *
  5. * For background on the blueprint API in Sails, check out:
  6. * https://sailsjs.com/docs/reference/blueprint-api
  7. *
  8. * For details and more available options, see:
  9. * https://sailsjs.com/config/blueprints
  10. */
  11. module.exports.blueprints = {
  12. /***************************************************************************
  13. * *
  14. * Automatically expose implicit routes for every action in your app? *
  15. * *
  16. ***************************************************************************/
  17. // actions: false,
  18. /***************************************************************************
  19. * *
  20. * Automatically expose RESTful routes for your models? *
  21. * *
  22. ***************************************************************************/
  23. rest: false,
  24. /***************************************************************************
  25. * *
  26. * Automatically expose CRUD "shortcut" routes to GET requests? *
  27. * (These are enabled by default in development only.) *
  28. * *
  29. ***************************************************************************/
  30. shortcuts: false,
  31. };