diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-06-04 14:41:37 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-06-04 14:41:37 +0300 |
commit | 7350eb1fa83662d4aaa7541acb387b3742ba9788 (patch) | |
tree | 881a23cd8807f2247707c875bc1be1502ff04ace /app/models/project_wiki.rb | |
parent | 0b4f9ff4068af6776b495d9332aeecf58e48786f (diff) |
Add ability to search wiki titles
Diffstat (limited to 'app/models/project_wiki.rb')
-rw-r--r-- | app/models/project_wiki.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/project_wiki.rb b/app/models/project_wiki.rb index f799a0b4227..a6f94b3e3b0 100644 --- a/app/models/project_wiki.rb +++ b/app/models/project_wiki.rb @@ -140,10 +140,6 @@ class ProjectWiki [title, title_array.join("/")] end - def search_files(query) - repository.search_files_by_content(query, default_branch) - end - def repository @repository ||= Repository.new(full_path, @project, disk_path: disk_path, is_wiki: true) end |