cinema.route.js 228 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
7
8
9
10
11
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;