imaginar/routes/dashboardRoutes.js

10 lines
343 B
JavaScript
Raw Permalink Normal View History

2024-10-19 11:24:54 +00:00
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;