Commit aa54482a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix no-ssh message for non logged in user

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 573d554c
- 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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment