diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-06-12 17:54:37 +0200 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2018-06-18 09:11:02 +0200 |
commit | 656d4ebf67b597e012f97edd04432e402d26fbc2 (patch) | |
tree | 47f64eb022598a158cece229d18b0450f0121573 /config/routes/group.rb | |
parent | 937c1b5be91be4b500fa7cc1faf5d1aabbd16d41 (diff) | |
download | gitlab-ce-656d4ebf67b597e012f97edd04432e402d26fbc2.tar.gz |
Add workhorse authorize method for project/group uploads
This method can be used by workhorse to get presigned
URLs used for direct upload of files.
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r-- | config/routes/group.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index b09eb3c1b5b..25fbb38ba87 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -55,6 +55,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do resources :uploads, only: [:create] do collection do get ":secret/:filename", action: :show, as: :show, constraints: { filename: %r{[^/]+} } + post :authorize end end |