Fix User#can_create_project?
This commit is contained in:
parent
b8c3f9a628
commit
03586c6c79
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue