diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-01 06:11:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-01 06:11:45 +0000 |
commit | 6c9db7d110fec154dda991e3c323027404fbc940 (patch) | |
tree | c7d2e5d850c93df0fd6d7d096f588fdfe5c5a2ff /config/routes | |
parent | e5f18589063c991e0fb20fb1566060cddb72f649 (diff) | |
download | gitlab-ce-6c9db7d110fec154dda991e3c323027404fbc940.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/uploads.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config/routes/uploads.rb b/config/routes/uploads.rb index ba2e8493ef9..7b598e84975 100644 --- a/config/routes/uploads.rb +++ b/config/routes/uploads.rb @@ -22,13 +22,6 @@ scope path: :uploads do constraints: { model: /appearance/, mounted_as: /logo|header_logo|favicon/, filename: /.+/ }, as: 'appearance_upload' - # Project markdown uploads - # DEPRECATED: Remove this in GitLab 13.0 because this is redundant to show_namespace_project_uploads - # https://gitlab.com/gitlab-org/gitlab/issues/196396 - get ":namespace_id/:project_id/:secret/:filename", - to: redirect("%{namespace_id}/%{project_id}/uploads/%{secret}/%{filename}"), - constraints: { namespace_id: /[a-zA-Z.0-9_\-]+/, project_id: /[a-zA-Z.0-9_\-]+/, filename: %r{[^/]+} }, format: false, defaults: { format: nil } - # create uploads for models, snippets (notes) available for now post ':model', to: 'uploads#create', |