diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-23 03:09:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-23 03:09:41 +0300 |
commit | b158645575a569bd46de15b42355940501902166 (patch) | |
tree | ef7ab6549bf28779cf01cbfd84eab23b757a1592 /config/routes | |
parent | 22e60f1c61443a7efd8a2334f61556d19d6630be (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index bcd2fbf4151..6e5784a8f92 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -73,7 +73,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resource :ci_cd, only: [:show, :update], controller: 'ci_cd' do post :reset_cache put :reset_registration_token - post :create_deploy_token, path: 'deploy_token/create' + post :create_deploy_token, path: 'deploy_token/create', to: 'repository#create_deploy_token' end resource :operations, only: [:show, :update] do @@ -87,7 +87,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resource :repository, only: [:show], controller: :repository do # TODO: Removed this "create_deploy_token" route after change was made in app/helpers/ci_variables_helper.rb:14 # See MR comment for more detail: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27059#note_311585356 - post :create_deploy_token, path: 'deploy_token/create', to: 'ci_cd#create_deploy_token' + post :create_deploy_token, path: 'deploy_token/create' post :cleanup end end |