diff --git a/config/routes/project.rb b/config/routes/project.rb
index 632ef34f317b79a868b4fa0003b8828f3ecca704..22db62c9e0757f386eeaa48e49ac3c647ae496e4 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -385,7 +385,7 @@
 
         # The wiki and repository routing contains wildcard characters so
         # its preferable to keep it below all other project routes
-        draw :repository_scoped
+        draw :repository
         draw :wiki
 
         namespace :import do
diff --git a/config/routes/repository_scoped.rb b/config/routes/repository.rb
similarity index 100%
rename from config/routes/repository_scoped.rb
rename to config/routes/repository.rb
diff --git a/config/routes/repository_deprecated.rb b/config/routes/repository_deprecated.rb
index 7626ceb3529232d5ba68cb178cd18bd945ce31b1..e611b4f665b9a11eeafb6241afffffbe644865a8 100644
--- a/config/routes/repository_deprecated.rb
+++ b/config/routes/repository_deprecated.rb
@@ -2,7 +2,7 @@
 
 # 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
+# Do not add new routes here. Add new routes to repository.rb instead
 # (see https://docs.gitlab.com/ee/development/routing.html#project-routes).
 
 resource :repository, only: [:create]