소스 검색

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

Yuki Takei 9 년 전
부모
커밋
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';
     })