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:
commit
ea24904db8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue