|
|
@ -22,6 +22,8 @@ class PageController extends SiteController {
|
|
|
|
dtp.app.use('/page', router);
|
|
|
|
dtp.app.use('/page', router);
|
|
|
|
|
|
|
|
|
|
|
|
router.use(this.dtp.services.gabTV.channelMiddleware());
|
|
|
|
router.use(this.dtp.services.gabTV.channelMiddleware());
|
|
|
|
|
|
|
|
router.use(this.dtp.services.venue.channelMiddleware());
|
|
|
|
|
|
|
|
|
|
|
|
router.use(async (req, res, next) => {
|
|
|
|
router.use(async (req, res, next) => {
|
|
|
|
res.locals.currentView = 'page';
|
|
|
|
res.locals.currentView = 'page';
|
|
|
|
return next();
|
|
|
|
return next();
|
|
|
|