Skip to content
Snippets Groups Projects
Commit c76e6b98 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Move load command into _text partial

parent b4e6ee7a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -35,7 +35,6 @@
- if blob.lfs_pointer?
= render "download", blob: blob
- elsif blob.text?
- blob.load_all_data!(@repository)
= render "text", blob: blob
- elsif blob.image?
= render "image", blob: blob
Loading
Loading
- blob.load_all_data!(@repository)
- if markup?(blob.name)
.file-content.wiki
= render_markup(blob.name, blob.data)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment