2019-05-30 16:15:17 +05:30
|
|
|
- project = find_project_for_result_blob(blob)
|
2018-11-20 20:47:30 +05:30
|
|
|
- return unless project
|
|
|
|
|
2019-02-15 15:39:39 +05:30
|
|
|
- blob = parse_search_result(blob)
|
|
|
|
- blob_link = project_blob_path(project, tree_join(blob.ref, blob.filename))
|
2018-11-08 19:23:39 +05:30
|
|
|
|
2019-02-15 15:39:39 +05:30
|
|
|
= render partial: 'search/results/blob_data', locals: { blob: blob, project: project, file_name: blob.filename, blob_link: blob_link }
|