diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index 070312944..b8c82eec7 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -1,6 +1,6 @@ <% provide(:head_title, t("projects.index.head_title")) %> -<% if can_create_projects?(team) %> +<% if can_create_projects?(current_team) %> <% end %> -<% if can_update_project?(project) %> +<% if can_update_project?(@project) %>