diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-20 20:07:59 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-20 20:07:59 +0100 |
commit | 3c61b13efeb52c95d13fbb75fd3016555095276b (patch) | |
tree | bc4ac0b4c818e27a4bdea376f249c0950352b6b6 /config/routes | |
parent | dec1e90e505d9ab9e8b088b6a348f5bec293fed1 (diff) | |
parent | 2bc3084d68ac64fcc31276f4ec5e76f79d6fa296 (diff) | |
download | gitlab-ce-3c61b13efeb52c95d13fbb75fd3016555095276b.tar.gz |
Merge remote-tracking branch 'origin/master' into zj-mattermost-slash-config
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/import.rb | 6 | ||||
-rw-r--r-- | config/routes/project.rb | 2 |
2 files changed, 8 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 diff --git a/config/routes/project.rb b/config/routes/project.rb index 1d0caac3080..d8e0243a80e 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -150,6 +150,8 @@ constraints(ProjectUrlConstrainer.new) do resources :environments, except: [:destroy] do member do post :stop + get :terminal + get '/terminal.ws/authorize', to: 'environments#terminal_websocket_authorize', constraints: { format: nil } end end |