From 15c463355af77a6f789f1a662b00e3ed80c453e9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 12 Apr 2017 00:17:14 +0000 Subject: [PATCH] Update show.html.haml to allow guests to see the Files tab as per https://gitlab.com/gitlab-org/gitlab-ce/issues/30199 --- app/views/projects/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index de1229d58aa..fd7bd21677c 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -12,7 +12,7 @@ = render "projects/last_push" = render "home_panel" -- if current_user && can?(current_user, :download_code, @project) +- if can?(current_user, :download_code, @project) %nav.project-stats{ class: container_class } %ul.nav %li -- GitLab