debian-mirror-gitlab/app/views/search/results/_wiki_blob.html.haml
2019-09-30 21:07:59 +05:30

5 lines
324 B
Text

- project = find_project_for_result_blob(projects, wiki_blob)
- 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: wiki_blob.filename, blob_link: wiki_blob_link }