2018-06-04 07:41:37 -04:00
|
|
|
- project = find_project_for_result_blob(blob)
|
2018-08-13 13:50:12 -04:00
|
|
|
- return unless project
|
|
|
|
|
2018-12-02 16:47:33 -05:00
|
|
|
- blob = parse_search_result(blob)
|
|
|
|
- blob_link = project_blob_path(project, tree_join(blob.ref, blob.filename))
|
2018-06-04 07:41:37 -04:00
|
|
|
|
2018-12-02 16:47:33 -05:00
|
|
|
= render partial: 'search/results/blob_data', locals: { blob: blob, project: project, file_name: blob.filename, blob_link: blob_link }
|