summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-04-14 08:58:03 +0000
committerRémy Coutable <remy@rymai.me>2017-04-14 08:58:03 +0000
commitea24904db818f4bfa248ef56b751400a674ed05d (patch)
treee4bd0b6384fb46dd504d0a8ac4cb155ebdc4e439 /app
parent819b715357db43b0589065a8641ddeeaa1af3c05 (diff)
parent15c463355af77a6f789f1a662b00e3ed80c453e9 (diff)
downloadgitlab-ce-ea24904db818f4bfa248ef56b751400a674ed05d.tar.gz
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
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index de1229d58aa..fd7bd21677c 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -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