fix: Adds courses/categories route
This commit is contained in:
committed by
Benedikt Rötsch
parent
cdb0a07ff7
commit
9f61d33500
@@ -17,6 +17,7 @@ router.get('/', catchErrors(getLandingPage))
|
||||
|
||||
// Courses routes
|
||||
router.get('/courses', catchErrors(getCourses))
|
||||
router.get('/courses/categories', catchErrors(getCourses))
|
||||
router.get('/courses/categories/:category', catchErrors(getCoursesByCategory))
|
||||
router.get('/courses/:slug', catchErrors(getCourse))
|
||||
router.get('/courses/:slug/lessons', catchErrors(getCourse))
|
||||
|
||||
Reference in New Issue
Block a user