text: const express = require('express')
  const router = express.Router()
  
  router.post('/how-many-sandwiches-answer', function (req, res) {
  
    // Make a variable and give it the value from 'how-many-balls'
    var howManySandwiches = req.session.data['how-many-sandwiches']
  
    // Check whether the variable matches a condition
    if (howManySandwiches == "Two to nine") {
      // Send user to next page
      res.redirect('/pease-pudding-naked')
    }
    else {
      // Send user to ineligible page
      res.redirect('/ineligible')
    }
  
  })
  
  
  
  module.exports = router
  