feat(imprint): add imprint

This commit is contained in:
Benedikt Rötsch
2017-10-24 16:55:42 +02:00
committed by Benedikt Rötsch
parent fb7755f10f
commit c35c8983b1
4 changed files with 43 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ const { getCourses, getCourse, getLesson, getCoursesByCategory } = require('./co
const { getSettings, postSettings } = require('./settings')
const { getSitemap } = require('./sitemap')
const { getLandingPage } = require('./landingPage')
const { getImprint } = require('./imprint')
const router = express.Router()
/* GET the home landing page. */
@@ -23,7 +24,7 @@ router.post('/settings', catchErrors(postSettings))
/* Sitemap Route */
router.get('/sitemap', catchErrors(getSitemap))
/* About Route */
router.get('/about', catchErrors(getLandingPage))
/* Imprint Route */
router.get('/imprint', catchErrors(getImprint))
module.exports = router