Fix some spelling errors (#5)

This commit is contained in:
Robert Linde
2017-10-04 10:12:53 +02:00
committed by Benedikt Rötsch
parent e773c8b32d
commit 01fd3cc9b3
8 changed files with 14 additions and 14 deletions

View File

@@ -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 = ''