diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-26 14:53:50 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-26 14:53:50 +0200 |
commit | aa54482a37df5b122e35029a316094c2f55d5044 (patch) | |
tree | dd10b8b1e28abaafe013683d05c69aefe6ef696b /app/views | |
parent | 573d554c6927f0e6804c986af7d8837e0abd6cd9 (diff) | |
download | gitlab-ce-aa54482a37df5b122e35029a316094c2f55d5044.tar.gz |
Fix no-ssh message for non logged in user
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/show.html.haml | 2 |
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" |