|
|
@@ -107,7 +107,6 @@ module.exports = function(crowi, app) {
|
|
|
res.redirect(encodeURI(path));
|
|
|
return ;
|
|
|
}
|
|
|
- debug('Page found', pageData._id, pageData.path);
|
|
|
|
|
|
if (err == Page.PAGE_GRANT_ERROR) {
|
|
|
debug('PAGE_GRANT_ERROR');
|
|
|
@@ -115,6 +114,7 @@ module.exports = function(crowi, app) {
|
|
|
}
|
|
|
|
|
|
if (pageData) {
|
|
|
+ debug('Page found', pageData._id, pageData.path);
|
|
|
pageData.seen(req.user, function(err, data) {
|
|
|
return renderPage(data, req, res);
|
|
|
});
|