Commit 9ab12e09 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix search blobs for wiki

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f6609c98
......@@ -437,7 +437,7 @@ class Repository
Gitlab::Popen.popen(args, path_to_repo).first.scrub.split(/^--$/)
end
def search_to_blob(result)
def parse_search_result(result)
ref = nil
filename = nil
startline = 0
......
- blob = @project.repository.search_to_blob(blob)
- blob = @project.repository.parse_search_result(blob)
.blob-result
.file-holder
.file-title
......
- wiki_blob = @project.repository.parse_search_result(wiki_blob)
.blob-result
.file-holder
.file-title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment