...
|
...
|
@@ -5,7 +5,7 @@ |
|
|
*/
|
|
|
const express = require('express');
|
|
|
const router = express.Router(); // eslint-disable-line
|
|
|
const {authAdmin} = require('../../middleware');
|
|
|
const authAdmin = require('../../middleware/authAdmin');
|
|
|
const admin = require('./controllers/admin');
|
|
|
|
|
|
router.get('/', authAdmin, admin.indexPage);
|
...
|
...
|
|