From 900446557bf0fb595b9c1a361c62ef271a56b32a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Zrim=C5=A1ek?= Date: Fri, 2 Feb 2018 20:14:03 +0100 Subject: [PATCH] Fixed mistyped permission checker. --- app/views/projects/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index c9d02378a..010c6aee4 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -67,7 +67,7 @@ - <% if can_create_project?(@project) && @teams.length > 0 %> + <% if @teams.length > 0 && can_create_projects?(current_team) %>