Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Commit

Permalink
fixed typo in getViewData (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
smcmurtry committed Dec 6, 2019
1 parent 127d1c2 commit 7643dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/start/start.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = (app, route) => {
app.get('/', (req, res) => res.redirect(route.path[req.locale]))

route.draw(app).get(async (req, res) => {
res.render(name, routeUtils.getViewData(res))
res.render(name, routeUtils.getViewData(req))
})
}

0 comments on commit 7643dce

Please sign in to comment.