Fix some spelling errors
This commit is contained in:
committed by
Benedikt Rötsch
parent
38b431f17b
commit
ba1d442f73
@@ -13,9 +13,9 @@ router.get('/', catchErrors(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', catchErrors(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