Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-10-17 18:47:05 +0300
committerDouwe Maan <douwe@gitlab.com>2018-10-17 18:47:05 +0300
commitb8cf360e2ae446db1f21c0275e2047d776730a05 (patch)
tree08aad72c9813659459247c74fc46b6db4bc2cd91 /app/controllers/projects/avatars_controller.rb
parent11152ddf3d4f977232676fea38eca28b7b6e6ddd (diff)
Fixed bug with the content disposition with wiki attachments
Diffstat (limited to 'app/controllers/projects/avatars_controller.rb')
-rw-r--r--app/controllers/projects/avatars_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/avatars_controller.rb b/app/controllers/projects/avatars_controller.rb
index 1c385c0e15a..1f4a25f82e9 100644
--- a/app/controllers/projects/avatars_controller.rb
+++ b/app/controllers/projects/avatars_controller.rb
@@ -8,7 +8,7 @@ class Projects::AvatarsController < Projects::ApplicationController
def show
@blob = @repository.blob_at_branch(@repository.root_ref, @project.avatar_in_git)
- send_blob(@blob)
+ send_blob(@repository, @blob)
end
def destroy