summaryrefslogtreecommitdiff
path: root/app/views/search/results/_blob.html.haml
blob: 6e17a25c713328fda77404bb8c8e3ff60542e07a (plain)
1
2
3
4
5
- 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 }