|
@@ -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';
|
|
|
})
|
|
})
|