2
0
Эх сурвалжийг харах

BugFix: ensure to render not found page when crowi layout

Yuki Takei 8 жил өмнө
parent
commit
4adc2463d7
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      lib/routes/page.js

+ 1 - 1
lib/routes/page.js

@@ -408,7 +408,7 @@ module.exports = function(crowi, app) {
   function renderPage(pageData, req, res) {
     // create page
     if (!pageData) {
-      return res.render('customlayout-selector/page', {
+      return res.render('customlayout-selector/not_found', {
         author: {},
         page: false,
       });