Commit b04bde6c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Rename repository to repository_deprecated

This file has only deprecated routes left. This is needed so we can
rename repository_scoped to repository file
Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent ac4b5f2f
......@@ -565,7 +565,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
# Deprecated unscoped routing.
scope as: 'deprecated' do
# Issue https://gitlab.com/gitlab-org/gitlab/issues/118849
draw :repository
draw :repository_deprecated
# Issue https://gitlab.com/gitlab-org/gitlab/-/issues/223719
# rubocop: disable Cop/PutProjectRoutesUnderScope
......
# frozen_string_literal: true
# All routing related to repository browsing
#
# NOTE: Add new routes to repository_scoped.rb instead (see
# https://docs.gitlab.com/ee/development/routing.html#project-routes).
# Repository routes without /-/ scope.
# Issue https://gitlab.com/gitlab-org/gitlab/-/issues/28848.
# Do not add new routes here. Add new routes to repository_scoped.rb instead
# (see https://docs.gitlab.com/ee/development/routing.html#project-routes).
resource :repository, only: [:create]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment