Fix no-ssh message for non logged in user

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-12-26 14:53:50 +02:00
parent 573d554c69
commit aa54482a37
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A

View file

@ -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 'shared/no_ssh'
= render "home_panel" = render "home_panel"