admin/routes/setting.js

  1. /* ============================================================================ *\
  2. || ########################################################################## ||
  3. || # Auction Software Marketplace Release: 0.6 Build 0.7 # ||
  4. || # ---------------------------------------------------------------------- # ||
  5. || # License # 35YAHCNR9344X6O666C123AB # ||
  6. || # ---------------------------------------------------------------------- # ||
  7. || # Copyright ©2014–2021 Develop Scripts LLC. All Rights Reserved # ||
  8. || # This file may not be redistributed in whole or significant part. # ||
  9. || # ------------- AUCTION SOFTWARE IS NOT FREE SOFTWARE ------------------ # ||
  10. || # http://www.auctionsoftwaremarketplace.com|support@auctionsoftware.com # ||
  11. || # ---------------------------------------------------------------------- # ||
  12. || ########################################################################## ||
  13. \* ============================================================================ */
  14. const express = require('express')
  15. const settingCtrl = require('../controllers/setting')
  16. const app = express.Router()
  17. /**
  18. * Route for Settings.
  19. *
  20. * @namespace adminside.setting
  21. * @memberOf adminside
  22. */
  23. app.post('/configurationVariables', settingCtrl.configurationVariables)
  24. app.post('/getSingleConfiguration', settingCtrl.getSingleConfiguration)
  25. app.post('/configurationAction', settingCtrl.configurationAction)
  26. module.exports = app