Commit 6d5c9698 authored by Valery Sizov's avatar Valery Sizov

Merge branch 'limit_repo'

parents a2d3b211 a6c88d4d
...@@ -51,7 +51,7 @@ class User < ActiveRecord::Base ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment