Commit ea24904d authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'patch-17' into 'master'

Update show.html.haml to allow guests to see the Files tab as per #30199

See merge request !10640
parents 819b7153 15c46335
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
= render "projects/last_push" = render "projects/last_push"
= render "home_panel" = 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 } %nav.project-stats{ class: container_class }
%ul.nav %ul.nav
%li %li
......
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