diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-02-02 20:22:04 +0300 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-02-02 20:22:04 +0300 |
commit | 752468d55bb167cfb7d327c660a62caa52dac792 (patch) | |
tree | 585b45cc5243e165017c40edd8b86d5d27a8ced2 /app/views/projects/blob | |
parent | dc390c5ac250a3dd7e03b950c96be18905d6e51b (diff) | |
parent | ea41d3607769b2b726a25d50ea23675bc5936227 (diff) |
Merge branch 'git-raw-workhorse' into 'master'
Send raw Git blobs via gitlab-workhorse
See merge request !2451
Diffstat (limited to 'app/views/projects/blob')
-rw-r--r-- | app/views/projects/blob/_image.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_image.html.haml b/app/views/projects/blob/_image.html.haml index c090f690d1d..51fa91b08e4 100644 --- a/app/views/projects/blob/_image.html.haml +++ b/app/views/projects/blob/_image.html.haml @@ -1,2 +1,2 @@ .file-content.image_file - %img{ src: "data:#{blob.mime_type};base64,#{Base64.encode64(blob.data)}"} + %img{ src: namespace_project_raw_path(@project.namespace, @project, @id)} |