Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
butter-studio
Commits
b9504c21
Commit
b9504c21
authored
Jul 26, 2021
by
Kim, Subin
Browse files
영화관람표 관련 router 처리
parent
54b0a783
Changes
1
Show whitespace changes
Inline
Side-by-side
server/routes/cinema.route.js
View file @
b9504c21
import
express
from
"
express
"
;
import
express
from
"
express
"
;
import
cinemaCtrl
from
"
../controllers/cinema.controller.js
"
;
import
cinemaCtrl
from
"
../controllers/cinema.controller.js
"
;
import
ticketfeeCtrl
from
"
../controllers/ticketfee.controller.js
"
;
const
router
=
express
.
Router
();
const
router
=
express
.
Router
();
router
router
.
route
(
"
/
"
)
.
route
(
"
/
cinema
"
)
.
get
(
cinemaCtrl
.
getAll
)
.
get
(
cinemaCtrl
.
getAll
)
.
put
(
cinemaCtrl
.
edit
)
.
put
(
cinemaCtrl
.
edit
)
router
.
route
(
"
/ticketfee/:theaterType
"
)
.
get
(
ticketfeeCtrl
.
getOne
)
router
.
route
(
"
/ticketfee
"
)
.
get
(
ticketfeeCtrl
.
getAll
)
.
put
(
ticketfeeCtrl
.
edit
)
.
delete
(
ticketfeeCtrl
.
remove
)
export
default
router
;
export
default
router
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment