debian-mirror-gitlab/app/views/search/results/_blob.html.haml

6 lines
249 B
Text
Raw Normal View History

2020-03-09 13:42:32 +05:30
- project = blob.project
2018-11-20 20:47:30 +05:30
- return unless project
2019-12-26 22:10:19 +05:30
- blob_link = project_blob_path(project, tree_join(blob.ref, blob.path))
2018-11-08 19:23:39 +05:30
2019-12-26 22:10:19 +05:30
= render partial: 'search/results/blob_data', locals: { blob: blob, project: project, path: blob.path, blob_link: blob_link }