Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 9c8ad8fe047..575b3089307 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -66,7 +66,12 @@ InitializerConnections.raise_if_new_database_connection do
Gitlab.ee do
resource :company, only: [:new, :create], controller: 'company'
- resources :groups_projects, only: [:new, :create] do
+ # TODO: remove next line and the controller after the deployment
+ # https://gitlab.com/gitlab-org/gitlab/-/issues/411208
+ resources :groups_projects, only: [:create] do
+ post :import, on: :collection
+ end
+ resources :groups, only: [:new, :create] do
post :import, on: :collection
end
draw :verification