|
|
@@ -167,6 +167,7 @@ module.exports = function(crowi, app) {
|
|
|
Page.hasPortalPage(path, req.user, req.query.revision)
|
|
|
.then(function(portalPage) {
|
|
|
renderVars.page = portalPage;
|
|
|
+ renderVars.revision = portalPage.revision;
|
|
|
|
|
|
if (portalPage) {
|
|
|
return Revision.findRevisionList(portalPage.path, {});
|