Commit 4ff5f7f8 authored by Kim, Subin's avatar Kim, Subin
Browse files

search

parent 15dff40b
...@@ -10,11 +10,19 @@ router ...@@ -10,11 +10,19 @@ router
router router
.route("/all") .route("/all")
.get(movieCtrl.getAllMovie) .get(movieCtrl.getAllMovie,
movieCtrl.movieforAdmin
)
router router
.route("/search") .route("/search/home")
.get(movieCtrl.findforKeyword) .get(movieCtrl.findonlyTitle)
router
.route("/search/admin")
.get(movieCtrl.findaboutAll,
movieCtrl.movieforAdmin
)
router router
.route("/:movieId") .route("/:movieId")
......
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