summaryrefslogtreecommitdiff
path: root/app/controllers/projects/raw_controller.rb
diff options
context:
space:
mode:
authorGitLab Release Tools Bot <delivery-team+release-tools@gitlab.com>2020-10-01 17:30:33 +0000
committerGitLab Release Tools Bot <delivery-team+release-tools@gitlab.com>2020-10-01 17:30:33 +0000
commitb4a90a651b273552f77b01273684a7baaf9a89a0 (patch)
tree0e47d67e645117da5034114e4f9f556890e56d8e /app/controllers/projects/raw_controller.rb
parent22088debca3b88ed45a7767e915511712e968919 (diff)
parent94a627fba65f14e04f876b321544fb82aacdfadc (diff)
downloadgitlab-ce-13-2-stable.tar.gz
Merge remote-tracking branch 'dev/13-2-stable' into 13-2-stable13-2-stable
Diffstat (limited to 'app/controllers/projects/raw_controller.rb')
-rw-r--r--app/controllers/projects/raw_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/raw_controller.rb b/app/controllers/projects/raw_controller.rb
index 69a3898af55..29f1e4bfd44 100644
--- a/app/controllers/projects/raw_controller.rb
+++ b/app/controllers/projects/raw_controller.rb
@@ -12,6 +12,7 @@ class Projects::RawController < Projects::ApplicationController
before_action :authorize_download_code!
before_action :show_rate_limit, only: [:show], unless: :external_storage_request?
before_action :assign_ref_vars
+ before_action :no_cache_headers, only: [:show]
before_action :redirect_to_external_storage, only: :show, if: :static_objects_external_storage_enabled?
def show