summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-13 09:08:03 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-13 09:08:03 +0000
commitc3ad57034cc1cbd6d0ad02de7ac57f6004440c83 (patch)
treeb27a4424d2d5d930ffdaf1ef872851ce691d4e7a /config/routes/project.rb
parent6ede90f5dd63d4a1f5ba243b4ed5097bb1a0acab (diff)
downloadgitlab-ce-c3ad57034cc1cbd6d0ad02de7ac57f6004440c83.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index b420f07c7a1..3bc38ef3349 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -452,7 +452,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resources :uploads, only: [:create] do
collection do
- get ":secret/:filename", action: :show, as: :show, constraints: { filename: %r{[^/]+} }
+ get ":secret/:filename", action: :show, as: :show, constraints: { filename: %r{[^/]+} }, format: false, defaults: { format: nil }
post :authorize
end
end