summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAJ ONeal <coolaj86@gmail.com>2017-04-12 00:17:14 +0000
committerAJ ONeal <coolaj86@gmail.com>2017-04-12 00:17:14 +0000
commit15c463355af77a6f789f1a662b00e3ed80c453e9 (patch)
tree2f30d5cb5d96d33e0a95ef534ab85d4fdf98dac1 /app
parent04a3e60e419ed1e7a8f253c7200703179a2177e1 (diff)
downloadgitlab-ce-15c463355af77a6f789f1a662b00e3ed80c453e9.tar.gz
Update show.html.haml to allow guests to see the Files tab as per https://gitlab.com/gitlab-org/gitlab-ce/issues/30199
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