2019-03-25 03:14:18 +00:00
|
|
|
- project = find_project_for_result_blob(projects, blob)
|
2018-08-13 17:50:12 +00:00
|
|
|
- return unless project
|
|
|
|
|
2018-12-02 21:47:33 +00:00
|
|
|
- blob = parse_search_result(blob)
|
2019-10-24 00:07:18 +00:00
|
|
|
- blob_link = project_blob_path(project, tree_join(blob.ref, blob.path))
|
2018-06-04 11:41:37 +00:00
|
|
|
|
2019-10-24 00:07:18 +00:00
|
|
|
= render partial: 'search/results/blob_data', locals: { blob: blob, project: project, path: blob.path, blob_link: blob_link }
|