debian-mirror-gitlab/app/views/search/results/_blob.html.haml
2021-01-03 14:25:43 +05:30

5 lines
264 B
Text

- project = blob.project
- return unless project
- blob_link = project_blob_path(project, tree_join(repository_ref(project), blob.path))
= render partial: 'search/results/blob_data', locals: { blob: blob, project: project, path: blob.path, blob_link: blob_link }