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
This commit is contained in:
Rémy Coutable 2017-04-14 08:58:03 +00:00
commit ea24904db8

View file

@ -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