Commit b3d6dfc5 authored by Kim, Subin's avatar Kim, Subin
Browse files

cinema router

parent a276f40f
import express from "express";
import cinemaCtrl from "../controllers/cinema.controller.js";
const router = express.Router();
router
.route("/")
.get(cinemaCtrl.getAll)
.put(cinemaCtrl.edit)
export default router;
\ No newline at end of file
import express from "express";
import movieRouter from './movie.route.js'
import movieRouter from "./movie.route.js";
import cinemaRouter from "./cinema.route.js";
const router = express.Router();
router.use('/movie', movieRouter)
router.use('/cinema', cinemaRouter)
export default router;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment