Commit 4f8fb373 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'home-panel-cache-fix' into 'master'

Remove badge cache from home panel

See merge request gitlab-org/gitlab!65638
parents 7ddd6d28 19e12bea
...@@ -88,7 +88,6 @@ ...@@ -88,7 +88,6 @@
= render_if_exists "projects/home_mirror" = render_if_exists "projects/home_mirror"
- if @project.badges.present? - if @project.badges.present?
= cache_if(cache_enabled, [@project, :badges], expires_in: 1.day) do
.project-badges.mb-2 .project-badges.mb-2
- @project.badges.each do |badge| - @project.badges.each do |badge|
%a.gl-mr-3{ href: badge.rendered_link_url(@project), %a.gl-mr-3{ href: badge.rendered_link_url(@project),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment