// eslint-disable-next-line new-cap
const router = require('express').Router();
const indexController = require('../app/controllers/index');
const elementsController = require('../app/controllers/elements');
const cookiesController = require('../app/controllers/cookies');
const assuranceController = require('../app/controllers/clinical-assurance');

const stomachAcheController = require('../app/controllers/stomach-ache');

router.get('/', indexController.index);
router.get('/elements', elementsController.index);

router.get('/help/cookies', cookiesController.index);
router.get('/help/clinical-assurance', assuranceController.index);

router.get('/stomach-ache', stomachAcheController.index);

module.exports = router;

// eslint-disable-next-line new-cap
const router = require('express').Router();
const config = require('../config/config');
const indexController = require('../app/controllers/index');
const elementsController = require('../app/controllers/elements');
const cookiesController = require('../app/controllers/cookies');
const assuranceController = require('../app/controllers/clinical-assurance');

const stomachAcheController = require('../app/controllers/stomach-ache');

router.get('/', indexController.index);

router.get('/help/cookies', cookiesController.index);
router.get('/help/clinical-assurance', assuranceController.index);

router.get('/symptons/stomach-ache', stomachAcheController.index);

if (config !== 'production') {
  router.get('/elements', elementsController.index);
}

module.exports = router;

Rework some routing - Move stomach-ache into symptoms sub-directory - Only add route for elements guide in non-prod environments
Rework some routing
- Move stomach-ache into symptoms sub-directory
- Only add route for elements guide in non-prod environments
