gitlab-org--gitlab-foss/app/views/projects/blob/viewers/_image.html.haml

4 lines
178 B
Plaintext

.file-content.image_file
-# Uses the full URL rather than the path, to prevent it from getting prefixed with the asset host.
= image_tag(blob_raw_url, alt: viewer.blob.name)