diff --git a/routes/start/start.controller.js b/routes/start/start.controller.js index e5d78c3..83f481c 100755 --- a/routes/start/start.controller.js +++ b/routes/start/start.controller.js @@ -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)) }) }