Răsfoiți Sursa

add comments

Yuki Takei 8 ani în urmă
părinte
comite
f4167485ff
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      lib/routes/page.js

+ 1 - 1
lib/routes/page.js

@@ -61,12 +61,12 @@ module.exports = function(crowi, app) {
     };
   }
 
-  // routing
   actions.pageListShow = function(req, res) {
     var path = getPathFromRequest(req);
     var limit = 50;
     var offset = parseInt(req.query.offset)  || 0;
     var SEENER_THRESHOLD = 10;
+    // add slash to the last
     path = path + (path == '/' ? '' : '/');
 
     debug('Page list show', path);