Просмотр исходного кода

fix #126: Bug: Couldn't create new page after installation cleanly

Yuki Takei 8 лет назад
Родитель
Сommit
059bb361d8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/routes/page.js

+ 1 - 1
lib/routes/page.js

@@ -296,7 +296,7 @@ module.exports = function(crowi, app) {
     })
     // page not exists
     .catch(function(err) {
-      debug('Page not found', page.path);
+      debug('Page not found', path);
       // change template
       pageTeamplate = 'customlayout-selector/not_found';
     })