refactor: Change views

This commit is contained in:
Khaled Garbaya
2017-09-21 14:54:43 +02:00
committed by Benedikt Rötsch
parent 3f6efdf750
commit 3373ff282d
18 changed files with 250 additions and 22 deletions

9
routes/categories.js Normal file
View File

@@ -0,0 +1,9 @@
const express = require('express')
const router = express.Router()
/* GET courses listing. */
router.get('/', function (req, res, next) {
res.render('categories', { title: 'Categories' })
})
module.exports = router