Skip to content
Snippets Groups Projects
Commit 03586c6c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix User#can_create_project?

parent b8c3f9a6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment