summaryrefslogtreecommitdiff
path: root/config/routes/import.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/import.rb')
-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..c378253bf15 100644
--- a/config/routes/import.rb
+++ b/config/routes/import.rb
@@ -6,6 +6,12 @@ namespace :import do
get :jobs
end
+ resource :gitea, only: [:create, :new], controller: :gitea do
+ post :personal_access_token
+ get :status
+ get :jobs
+ end
+
resource :gitlab, only: [:create], controller: :gitlab do
get :status
get :callback