fix custom home

This commit is contained in:
Barış Soner Uşaklı
2018-11-28 15:58:52 -05:00
parent cf928f44b5
commit 4b486a808e

View File

@@ -111,6 +111,8 @@ module.exports = function (app, middleware, callback) {
// handle custom homepage routes
router.use('/', controllers.home.rewrite);
pluginRouter.use('/', controllers.home.rewrite);
// homepage handled by `action:homepage.get:[route]`
setupPageRoute(router, '/', middleware, [], controllers.home.pluginHook);