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:
authorKia Mei Somabes <kssomabes@up.edu.ph>2018-07-13 04:24:11 +0300
committerKia Mei Somabes <kssomabes@up.edu.ph>2018-07-13 04:33:35 +0300
commit1e0f0de30253cf20533fe4002272e3e3861b3883 (patch)
tree86a51b02976b9469066a0a46ad8b90a5c6f16cdd /app/controllers/projects/raw_controller.rb
parent9f57ae11e935d2a8a2b175d8382ed87020727845 (diff)
Refactor code for single file download in repository
Diffstat (limited to 'app/controllers/projects/raw_controller.rb')
-rw-r--r--app/controllers/projects/raw_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/raw_controller.rb b/app/controllers/projects/raw_controller.rb
index f6bfe4a5747..1cba0011304 100644
--- a/app/controllers/projects/raw_controller.rb
+++ b/app/controllers/projects/raw_controller.rb
@@ -18,7 +18,7 @@ class Projects::RawController < Projects::ApplicationController
if @blob.stored_externally?
send_lfs_object
else
- send_git_blob @repository, @blob, params[:inline]
+ send_git_blob @repository, @blob, inline: (params[:inline] != 'false')
end
else
render_404