debian-mirror-gitlab/app/views/search/results/_blob.html.haml
2020-03-09 13:42:32 +05:30

5 lines
249 B
Text

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