Browse Source

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

Yuki Takei 8 years ago
parent
commit
059bb361d8
1 changed files with 1 additions and 1 deletions
  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
     // page not exists
     .catch(function(err) {
     .catch(function(err) {
-      debug('Page not found', page.path);
+      debug('Page not found', path);
       // change template
       // change template
       pageTeamplate = 'customlayout-selector/not_found';
       pageTeamplate = 'customlayout-selector/not_found';
     })
     })