gitlab-org--gitlab-foss/app/views/search/results/_wiki_blob.html.haml
2018-06-04 11:41:37 +00:00

5 lines
316 B
Text

- project = find_project_for_result_blob(wiki_blob)
- file_name, wiki_blob = parse_search_result(wiki_blob)
- wiki_blob_link = project_wiki_path(project, wiki_blob.basename)
= render partial: 'search/results/blob_data', locals: { blob: wiki_blob, project: project, file_name: file_name, blob_link: wiki_blob_link }