Commit 6169963a authored by Kim, Subin's avatar Kim, Subin
Browse files

route("/") ctrl 할당 및 공백추가

parent 7261db5e
...@@ -5,12 +5,14 @@ const router = express.Router(); ...@@ -5,12 +5,14 @@ const router = express.Router();
router router
.route("/") .route("/")
// .post(movieCtrl.comparePopularMovie) .get(movieCtrl.getListfromDB)
router.route('/showmovies/:category') router
.route('/showmovies/:category')
.get(movieCtrl.getMovieById) .get(movieCtrl.getMovieById)
router.route('/movielist') router
.route('/movielist')
.get(movieCtrl.getMovieList) .get(movieCtrl.getMovieList)
router router
......
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