提交 ea24904d 编写于 作者: R 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
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册