Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-07-22 08:36:02 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-07-22 08:36:02 +0300
commitd950e4d937f06fb9c09847301a908839cf78dae1 (patch)
treee4ab5d30f0b5059589ef0a34d7f31c58152220b0 /config
parentf6d2ac2bf14a136bc1d1714a519102b3a023331c (diff)
parent0d3b8fad9742e6568458f2a8e4d66f0b36d731ec (diff)
Merge branch 'zj-pipeline-badge-improvements' into 'master'
Pipeline badge improvements Closes #15582 and #20961 See merge request !12966
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 672b5a9a160..06928c7b9ce 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -379,7 +379,9 @@ constraints(ProjectUrlConstrainer.new) do
collection do
scope '*ref', constraints: { ref: Gitlab::PathRegex.git_reference_regex } do
constraints format: /svg/ do
- get :build
+ # Keep around until 10.0, see gitlab-org/gitlab-ce#35307
+ get :build, to: "badges#pipeline"
+ get :pipeline
get :coverage
end
end