mirror of
https://gitlab.com/nekoya/web.git
synced 2024-12-22 22:45:10 +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