|
@@ -119,10 +119,16 @@ module.exports = function(crowi, app) {
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- actions.pageShowForCrowiPlus = function(req, res) {
|
|
|
|
|
|
|
+ actions.pageListShowForCrowiPlus = function(req, res) {
|
|
|
var path = getPathFromRequest(req);
|
|
var path = getPathFromRequest(req);
|
|
|
// omit the slash of the last
|
|
// omit the slash of the last
|
|
|
path = path.replace((/\/$/), '');
|
|
path = path.replace((/\/$/), '');
|
|
|
|
|
+ // redirect
|
|
|
|
|
+ return res.redirect(path);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ actions.pageShowForCrowiPlus = function(req, res) {
|
|
|
|
|
+ var path = getPathFromRequest(req);
|
|
|
|
|
|
|
|
var limit = 50;
|
|
var limit = 50;
|
|
|
var offset = parseInt(req.query.offset) || 0;
|
|
var offset = parseInt(req.query.offset) || 0;
|