summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-08 13:18:37 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-11 10:29:14 +0100
commit7e1453f2f01d40f53d927ff43aae1baae3b4b272 (patch)
tree941d3024753a5b089f9112530ac5e0596adbe975 /config
parent418e761ad132351b9d4ab2d7ae3e0742169ddc60 (diff)
downloadgitlab-ce-7e1453f2f01d40f53d927ff43aae1baae3b4b272.tar.gz
Fix rubocop offence in routes for build badge
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ea14ba38198..081ff428406 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -612,7 +612,7 @@ Rails.application.routes.draw do
collection do
post :cancel_all
get :badge, path: 'status/*ref/badge',
- constraints: { ref: Gitlab::Regex.git_reference_regex, format: /svg/ }
+ constraints: { ref: Gitlab::Regex.git_reference_regex, format: /svg/ }
end
member do