summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-09 09:00:25 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-09 09:00:25 +0100
commiteab086bde11f30551b4a8b27b0a344e654924a1c (patch)
tree89e290bacbad9765560c7673344919a6b44ca02c /config
parent1464a69c76cf492ad8b9674e24260e917dc7d2ef (diff)
parentee0ab46d327e278af68cbda49e00cd5188c709f3 (diff)
downloadgitlab-ce-eab086bde11f30551b4a8b27b0a344e654924a1c.tar.gz
Merge branch 'master' into merge-if-green
# Conflicts: # app/controllers/projects/merge_requests_controller.rb # config/routes.rb
Diffstat (limited to 'config')
-rw-r--r--config/gitlab.yml.example2
-rw-r--r--config/routes.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 1da42ab38f3..db378118f85 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -76,7 +76,7 @@ production: &base
# This happens when the commit is pushed or merged into the default branch of a project.
# When not specified the default issue_closing_pattern as specified below will be used.
# Tip: you can test your closing pattern at http://rubular.com.
- # issue_closing_pattern: '((?:[Cc]los(?:e[sd]?|ing)|[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?#\d+(?:(?:, *| +and +)?))+)'
+ # issue_closing_pattern: '((?:[Cc]los(?:e[sd]?|ing)|[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?))+)'
## Default project features settings
default_projects_features:
diff --git a/config/routes.rb b/config/routes.rb
index ea5d88fc3c3..061a8fd5da4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -570,8 +570,9 @@ Rails.application.routes.draw do
resources :merge_requests, constraints: { id: /\d+/ }, except: [:destroy] do
member do
- get :diffs
get :commits
+ get :diffs
+ get :builds
get :merge_check
post :merge
post :cancel_merge_when_build_succeeds