mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-14 02:16:19 +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) => {
|
||||
product_controller.getProduct(req.params.id).then(data => {
|
||||
controller.getProduct(req.params.id).then(data => {
|
||||
res.render('pages/product', {data: data});
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue