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

3 lines
178 B
Text

.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)