fix project limit

This commit is contained in:
Valery Sizov 2011-12-20 00:07:05 +02:00
parent 54fb0f8589
commit a6c88d4d84

View file

@ -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