2020-03-13 15:44:24 +05:30
|
|
|
- project = blob.project
|
2018-11-20 20:47:30 +05:30
|
|
|
- return unless project
|
2021-01-03 14:25:43 +05:30
|
|
|
- blob_link = project_blob_path(project, tree_join(repository_ref(project), blob.path))
|
2022-01-26 12:08:38 +05:30
|
|
|
- blame_link = project_blame_path(project, tree_join(repository_ref(project), blob.path))
|
2018-11-08 19:23:39 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
= render partial: 'search/results/blob_data', locals: { blob: blob, project: project, path: blob.path, blob_link: blob_link, blame_link: blame_link }
|