diff --git a/controllers/total/views.js b/controllers/total/views.js index f026985..9714482 100644 --- a/controllers/total/views.js +++ b/controllers/total/views.js @@ -204,7 +204,7 @@ module.exports.histogramData = function(req, res, render, next) { } -module.exports.calendar = redirectIfNotLogged('/calendar', function(req, res, render) { +module.exports.calendar = redirectIfNotLogged('calendar', function(req, res, render) { res.locals.calendarUrl = getUrl('calendarData'); render('calendar.pug'); });