提交 7e1453f2 编写于 作者: G Grzegorz Bizon

Fix rubocop offence in routes for build badge

上级 418e761a
...@@ -612,7 +612,7 @@ Rails.application.routes.draw do ...@@ -612,7 +612,7 @@ Rails.application.routes.draw do
collection do collection do
post :cancel_all post :cancel_all
get :badge, path: 'status/*ref/badge', 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 end
member do member do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册