Explorar o código

BugFix: set revision param when pageListShow

Yuki Takei %!s(int64=8) %!d(string=hai) anos
pai
achega
a71e619b49
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/routes/page.js

+ 1 - 0
lib/routes/page.js

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