summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-10-26 11:09:48 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2018-10-26 11:09:48 +1100
commite40f8f27a1ad56d55b321a2891675bd85c440147 (patch)
tree469d12cef7f7a82b1d8a9ca78cbabf0af1e84392 /config
parente211ef4e9d3a1d1b44872b600d694afc38d4d820 (diff)
downloadgitlab-ce-e40f8f27a1ad56d55b321a2891675bd85c440147.tar.gz
Update other links
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index e621f5eb8dd..e8a55b58656 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -149,7 +149,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
scope path: 'merge_requests', controller: 'merge_requests/creations' do
post '', action: :create, as: nil
- scope path: 'new', as: :new_merge_request do
+ scope path: 'new/(:merge_request_source_branch)', as: :new_merge_request do
scope constraints: { format: nil }, action: :new do
get :diffs, defaults: { tab: 'diffs' }
get :pipelines, defaults: { tab: 'pipelines' }