sou vor 7 Jahren
Ursprung
Commit
7d6bbecb5a
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      lib/models/page.js

+ 3 - 1
lib/models/page.js

@@ -527,7 +527,9 @@ module.exports = function(crowi) {
     });
     });
   };
   };
 
 
-  // find all templates applicable to the new page
+  /**
+   * find all templates applicable to the new page
+   */
   pageSchema.statics.findTemplate = function(path) {
   pageSchema.statics.findTemplate = function(path) {
     const Page = this;
     const Page = this;
     const templatePath = cutOffLastSlash(path);
     const templatePath = cutOffLastSlash(path);