mirror of
https://gitlab.com/nekoya/web.git
synced 2025-03-23 15:19:37 +01:00
Fix typo
This commit is contained in:
parent
3ac53b3e65
commit
a54af3787c
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ router.get('/products', (_req, res) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
router.get('/product/:id', (req, res) => {
|
router.get('/product/:id', (req, res) => {
|
||||||
product_controller.getProduct(req.params.id).then(data => {
|
controller.getProduct(req.params.id).then(data => {
|
||||||
res.render('pages/product', {data: data});
|
res.render('pages/product', {data: data});
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue