debian-mirror-gitlab/app/views/search/results/_wiki_blob.html.haml

6 lines
316 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
- project = find_project_for_result_blob(wiki_blob)
2019-01-03 12:48:30 +05:30
- file_name, wiki_blob = parse_search_result(wiki_blob)
2018-11-08 19:23:39 +05:30
- wiki_blob_link = project_wiki_path(project, wiki_blob.basename)
2019-01-03 12:48:30 +05:30
= render partial: 'search/results/blob_data', locals: { blob: wiki_blob, project: project, file_name: file_name, blob_link: wiki_blob_link }