Merge branch 'limit_repo'
This commit is contained in:
commit
6d5c969872
|
@ -51,7 +51,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