提交 15c46335 编写于 作者: A 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
上级 04a3e60e
......@@ -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.
先完成此消息的编辑!
想要评论请 注册