imaginar/routes/dashboardRoutes.js
2024-10-19 20:24:54 +09:00

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;