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 /app/controllers | |
parent | ea69037831a9b607e7936cadb8078a3182d6635a (diff) | |
download | gitlab-ce-88fc7ccddaab18435bdc85021d06d9aa21d28a68.tar.gz |
Add project badges view prototype
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/badges_controller.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/controllers/projects/badges_controller.rb b/app/controllers/projects/badges_controller.rb index 6d4d4360988..01db85c4a8a 100644 --- a/app/controllers/projects/badges_controller.rb +++ b/app/controllers/projects/badges_controller.rb @@ -1,5 +1,8 @@ class Projects::BadgesController < Projects::ApplicationController - before_action :no_cache_headers + before_action :no_cache_headers, except: [:index] + + def index + end def build badge = Gitlab::Badge::Build.new(project, params[:ref]) |