diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-10-17 15:47:05 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-10-17 15:47:05 +0000 |
commit | b8cf360e2ae446db1f21c0275e2047d776730a05 (patch) | |
tree | 08aad72c9813659459247c74fc46b6db4bc2cd91 /app/controllers/projects/raw_controller.rb | |
parent | 11152ddf3d4f977232676fea38eca28b7b6e6ddd (diff) | |
download | gitlab-ce-b8cf360e2ae446db1f21c0275e2047d776730a05.tar.gz |
Fixed bug with the content disposition with wiki attachments
Diffstat (limited to 'app/controllers/projects/raw_controller.rb')
-rw-r--r-- | app/controllers/projects/raw_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/raw_controller.rb b/app/controllers/projects/raw_controller.rb index 1dd5d1ff2e8..42ae5b0ef3c 100644 --- a/app/controllers/projects/raw_controller.rb +++ b/app/controllers/projects/raw_controller.rb @@ -12,6 +12,6 @@ class Projects::RawController < Projects::ApplicationController def show @blob = @repository.blob_at(@commit.id, @path) - send_blob(@blob, inline: (params[:inline] != 'false')) + send_blob(@repository, @blob, inline: (params[:inline] != 'false')) end end |