Commit 15c46335 authored by AJ ONeal's avatar AJ ONeal

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

Update show.html.haml to allow guests to see the Files tab as per https://gitlab.com/gitlab-org/gitlab-ce/issues/30199
parent 04a3e60e
...@@ -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