summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-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 14d1ad956e3..af6e4567c1b 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -1,4 +1,4 @@
-- if can?(current_user, :download_code, @project)
+- if current_user && can?(current_user, :download_code, @project)
= render 'shared/no_ssh'
= render "home_panel"