Skip to content

Commit

Permalink
Added routing (#35)
Browse files Browse the repository at this point in the history
* added routing and sections

* removed console log
  • Loading branch information
martyncolmer authored Mar 18, 2022
1 parent 7fb20e6 commit c185db2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion middleware/renderPage.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = (page) => {
return (req, res, next) => {
console.log(res.locals.questionnaire.sections)
res.render(page, {
questions: res.locals.questions,
title: res.locals.questionnaire.title,
Expand Down

0 comments on commit c185db2

Please sign in to comment.