diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-16 06:06:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-16 06:06:02 +0000 |
commit | edd042071d1b5e6f494881dc2d9c39b46e42f74b (patch) | |
tree | e3016e4e76b282353216cc9e64d711ad7365f5fe /config | |
parent | 273c8f63885ef82d94308f36e602c6b4bc1ffe19 (diff) | |
download | gitlab-ce-edd042071d1b5e6f494881dc2d9c39b46e42f74b.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 14caae35a83..953ddfc4165 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -239,8 +239,9 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end end - resources :merge_requests, concerns: :awardable, except: [:new, :create], constraints: { id: /\d+/ } do + resources :merge_requests, concerns: :awardable, except: [:new, :create, :show], constraints: { id: /\d+/ } do member do + get :show # Insert this first to ensure redirections using merge_requests#show match this route get :commit_change_content post :merge post :cancel_auto_merge |