summaryrefslogtreecommitdiff
path: root/config/routes
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-10-17 17:58:57 +0200
committerRémy Coutable <remy@rymai.me>2016-12-19 17:35:51 +0100
commit5d4531db2555d3051fc47e9268728a670ece95f9 (patch)
tree90c26002c5c804c6d3628f138bf1db60b4563d8c /config/routes
parent60f61096e17dee7ebedd94cc5f70703067528bc7 (diff)
downloadgitlab-ce-5d4531db2555d3051fc47e9268728a670ece95f9.tar.gz
Gogs Importer
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/import.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes/import.rb b/config/routes/import.rb
index 89f3b3f6378..a0427dade99 100644
--- a/config/routes/import.rb
+++ b/config/routes/import.rb
@@ -6,6 +6,12 @@ namespace :import do
get :jobs
end
+ resource :gogs, only: [:create, :new], controller: :gogs do
+ post :personal_access_token
+ get :status
+ get :jobs
+ end
+
resource :gitlab, only: [:create], controller: :gitlab do
get :status
get :callback