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

search

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