12 lines
348 B
JavaScript
12 lines
348 B
JavaScript
const express = require('express');
|
|
const isotopeController = require('../controllers/isotopeController');
|
|
const router = express.Router();
|
|
|
|
// 同位体作成ページ
|
|
router.get('/isotope', isotopeController.showCreateIsotopePage);
|
|
|
|
// 同位体作成ルート
|
|
router.post('/contract', isotopeController.createIsotope);
|
|
|
|
module.exports = router;
|