summaryrefslogtreecommitdiff
path: root/config/routes/group.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/group.rb
parent6ede90f5dd63d4a1f5ba243b4ed5097bb1a0acab (diff)
downloadgitlab-ce-c3ad57034cc1cbd6d0ad02de7ac57f6004440c83.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r--config/routes/group.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 30671d4e0a1..24957d5ecef 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -68,7 +68,7 @@ constraints(::Constraints::GroupUrlConstrainer.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