Fix User#can_create_project?

This commit is contained in:
Dmitriy Zaporozhets 2013-07-09 20:51:49 +03:00
parent b8c3f9a628
commit 03586c6c79
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ class User < ActiveRecord::Base
end
def can_create_project?
projects_limit > owned_projects.count
projects_limit_left > 0
end
def can_create_group?