Fix some spelling errors (#5)
This commit is contained in:
committed by
Benedikt Rötsch
parent
e773c8b32d
commit
01fd3cc9b3
@@ -17,9 +17,9 @@ router.get('/', async function (req, res, next) {
|
||||
res.render('courses', { title: `All Courses (${courses.length})`, categories, courses })
|
||||
})
|
||||
|
||||
/* GET courses listing. */
|
||||
/* GET courses listing by category. */
|
||||
router.get('/categories/:category', async function (req, res, next) {
|
||||
// we get all the entries with the content type `course`
|
||||
// we get all the entries with the content type `course` filtered by a category
|
||||
let courses = []
|
||||
let categories = []
|
||||
let activeCategory = ''
|
||||
|
||||
Reference in New Issue
Block a user