Explorar o código

Fix: fix typo

Sotaro KARASAWA %!s(int64=9) %!d(string=hai) anos
pai
achega
010e7e418d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/routes/search.js

+ 2 - 2
lib/routes/search.js

@@ -46,9 +46,9 @@ module.exports = function(crowi, app) {
 
     var doSearch;
     if (tree) {
-      doSearch = this.searchKeywordUnderPath(keyword, tree, {});
+      doSearch = search.searchKeywordUnderPath(keyword, tree, {});
     } else {
-      doSearch = this.searchKeyword(keyword, {});
+      doSearch = search.searchKeyword(keyword, {});
     }
     var result = {};
     doSearch