diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-22 10:21:45 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-06 19:56:34 +0200 |
commit | 88fc7ccddaab18435bdc85021d06d9aa21d28a68 (patch) | |
tree | e69acfd9d0964f26e9be8f76d8d12d8195436571 /config/routes.rb | |
parent | ea69037831a9b607e7936cadb8078a3182d6635a (diff) | |
download | gitlab-ce-88fc7ccddaab18435bdc85021d06d9aa21d28a68.tar.gz |
Add project badges view prototype
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 36561c31d48..3ef5931d97c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -749,7 +749,7 @@ Rails.application.routes.draw do end resources :runner_projects, only: [:create, :destroy] - resources :badges, only: [] do + resources :badges, only: [:index] do collection do scope '*ref', constraints: { ref: Gitlab::Regex.git_reference_regex } do get :build, constraints: { format: /svg/ } |