From a6c88d4d84a7656c0652bb6d00800a26ead7d26a Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Tue, 20 Dec 2011 00:07:05 +0200 Subject: [PATCH] fix project limit --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index de0bb637c15..cc2e5fc3578 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -47,7 +47,7 @@ class User < ActiveRecord::Base end def can_create_project? - projects_limit >= my_own_projects.count + projects_limit > my_own_projects.count end def last_activity_project