Fix no-ssh message for non logged in user
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
573d554c69
commit
aa54482a37
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue