fix project limit
This commit is contained in:
parent
54fb0f8589
commit
a6c88d4d84
|
@ -47,7 +47,7 @@ class User < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def can_create_project?
|
def can_create_project?
|
||||||
projects_limit >= my_own_projects.count
|
projects_limit > my_own_projects.count
|
||||||
end
|
end
|
||||||
|
|
||||||
def last_activity_project
|
def last_activity_project
|
||||||
|
|
Loading…
Reference in a new issue