From 90c38f0371d1d2d3a24bb59797f1a532faf6ef8c Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Sun, 14 Jan 2018 10:36:26 -0500 Subject: [PATCH] Remove unused next parameters --- app/routes/login.js | 2 +- app/routes/panel.js | 2 +- app/routes/register.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/routes/login.js b/app/routes/login.js index 221d87b..1ba29a2 100755 --- a/app/routes/login.js +++ b/app/routes/login.js @@ -2,7 +2,7 @@ var express = require('express'); var router = express.Router(); var path = require('path'); -router.get('/', function(req, res, next) { +router.get('/', function(req, res) { res.sendFile(path.join(__dirname, '../../public/views', 'login.html')); }); diff --git a/app/routes/panel.js b/app/routes/panel.js index a62517b..f1ebd4a 100755 --- a/app/routes/panel.js +++ b/app/routes/panel.js @@ -2,7 +2,7 @@ var express = require('express'); var router = express.Router(); var path = require('path'); -router.get('/', function(req, res, next) { +router.get('/', function(req, res) { res.sendFile(path.join(__dirname, '../../public/views', 'panel.html')); }); diff --git a/app/routes/register.js b/app/routes/register.js index e04f90a..0411eac 100755 --- a/app/routes/register.js +++ b/app/routes/register.js @@ -2,7 +2,7 @@ var express = require('express'); var router = express.Router(); var path = require('path'); -router.get('/', function(req, res, next) { +router.get('/', function(req, res) { res.sendFile(path.join(__dirname, '../../public/views', 'register.html')); });