User profile restyle. Feed(Atom) links for commits & issues
This commit is contained in:
parent
54fb0f8589
commit
a2d3b21189
16 changed files with 147 additions and 92 deletions
|
@ -46,6 +46,10 @@ class User < ActiveRecord::Base
|
|||
admin
|
||||
end
|
||||
|
||||
def require_ssh_key?
|
||||
keys.count == 0
|
||||
end
|
||||
|
||||
def can_create_project?
|
||||
projects_limit >= my_own_projects.count
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue