Commit eca55e08 authored by David Kim's avatar David Kim

Merge branch 'dz-rename-repository-routes-file' into 'master'

Rename repository to repository_deprecated

See merge request gitlab-org/gitlab!63085
parents 447d8623 b04bde6c
......@@ -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