diff options
author | Phil Hughes <me@iamphill.com> | 2016-02-22 20:37:26 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-02-22 20:37:26 +0300 |
commit | 62f4a9de1997fb1281e4d73753d157d2e29940c4 (patch) | |
tree | c6c1fa4b4d9a0e768f625db7021d4a2cd9c13874 /app/views/projects/empty.html.haml | |
parent | 5803a5308f5a7a84cc84dd0a7d8a89565bae0717 (diff) |
Users don't get instructions to push to other users empty projects
Fixes #12518
Diffstat (limited to 'app/views/projects/empty.html.haml')
-rw-r--r-- | app/views/projects/empty.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml index b34d106d565..6ad7b05155a 100644 --- a/app/views/projects/empty.html.haml +++ b/app/views/projects/empty.html.haml @@ -18,7 +18,7 @@ = link_to "adding README", new_readme_path, class: 'underlined-link' file to this project. -- if can?(current_user, :download_code, @project) +- if can?(current_user, :push_code, @project) %div{ class: container_class } .prepend-top-20 .empty_wrapper |