Commit 152f87864c020bfcd49b134e9c97b81e9ef1c215
1 parent
433f2dbc
Exists in
master
and in
4 other branches
remove useless warning
Showing
2 changed files
with
0 additions
and
4 deletions
Show diff stats
app/views/layouts/project_resource.html.haml
@@ -7,8 +7,6 @@ | @@ -7,8 +7,6 @@ | ||
7 | - if can?(current_user, :download_code, @project) | 7 | - if can?(current_user, :download_code, @project) |
8 | = render 'shared/no_ssh' | 8 | = render 'shared/no_ssh' |
9 | 9 | ||
10 | - - unless @project.users.include?(current_user) | ||
11 | - = render 'shared/not_in_team' | ||
12 | .container | 10 | .container |
13 | %ul.main_menu | 11 | %ul.main_menu |
14 | = nav_link(html_options: {class: "home #{project_tab_class}"}) do | 12 | = nav_link(html_options: {class: "home #{project_tab_class}"}) do |
app/views/shared/_not_in_team.html.haml