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:
authorStan Hu <stanhu@gmail.com>2018-06-25 23:06:10 +0300
committerStan Hu <stanhu@gmail.com>2018-06-25 23:06:10 +0300
commitebd8e4333a263138abf2113dd315a97352851cbe (patch)
tree4e4975eab778d490c20c9252785761a1d78fae26 /config/routes/import.rb
parent2bac2918b2d6f12d94f739f4b6865b9e9221c642 (diff)
WIP: Add support for Bitbucket Server imports
Diffstat (limited to 'config/routes/import.rb')
-rw-r--r--config/routes/import.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes/import.rb b/config/routes/import.rb
index c378253bf15..be3058193d5 100644
--- a/config/routes/import.rb
+++ b/config/routes/import.rb
@@ -24,6 +24,13 @@ namespace :import do
get :jobs
end
+ resource :bitbucket_server, only: [:create, :new], controller: :bitbucket_server do
+ post :configure
+ get :status
+ get :callback
+ get :jobs
+ end
+
resource :google_code, only: [:create, :new], controller: :google_code do
get :status
post :callback