diff options
Diffstat (limited to 'config/routes/repository.rb')
-rw-r--r-- | config/routes/repository.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/config/routes/repository.rb b/config/routes/repository.rb index 61a407d5a35..58de3d29bb0 100644 --- a/config/routes/repository.rb +++ b/config/routes/repository.rb @@ -2,15 +2,7 @@ # All routing related to repository browsing -resource :repository, only: [:create] do - member do - # deprecated since GitLab 9.5 - get 'archive', constraints: { format: Gitlab::PathRegex.archive_formats_regex }, as: 'archive_alternative', defaults: { append_sha: true } - - # deprecated since GitLab 10.7 - get ':id/archive', constraints: { format: Gitlab::PathRegex.archive_formats_regex, id: /.+/ }, action: 'archive', as: 'archive_deprecated', defaults: { append_sha: true } - end -end +resource :repository, only: [:create] resources :commit, only: [:show], constraints: { id: /\h{7,40}/ } do member do |