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.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ebb0984a008..9c8ad8fe047 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -67,10 +67,7 @@ InitializerConnections.raise_if_new_database_connection do
Gitlab.ee do
resource :company, only: [:new, :create], controller: 'company'
resources :groups_projects, only: [:new, :create] do
- collection do
- post :import
- put :exit
- end
+ post :import, on: :collection
end
draw :verification
end