Skip to content

Instantly share code, notes, and snippets.

View nicjaws's full-sized avatar

Nicolas Corbalan nicjaws

View GitHub Profile
@nicjaws
nicjaws / dealController.js
Created July 15, 2018 11:01
trying to create a Brand list with input form
/**Input Form**/
router.get('/create', (req, res, next) => {
res.render('deal/deal_input_view');
})
router.post('/create', (req, res, next) => {
res.render('brand/brand_edit_view');
})
/**Create a new Brand**/