Explorar el Código

BugFix: set revision param when pageListShow

Yuki Takei hace 8 años
padre
commit
a71e619b49
Se han modificado 1 ficheros con 1 adiciones y 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, {});