10 lines
343 B
JavaScript
10 lines
343 B
JavaScript
const express = require('express');
|
|
const dashboardController = require('../controllers/dashboardController');
|
|
const { isAuthenticated } = require('../utils/auth');
|
|
const router = express.Router();
|
|
|
|
// ダッシュボード表示ルート
|
|
router.get('/dashboard', isAuthenticated, dashboardController.showDashboard);
|
|
|
|
module.exports = router;
|