project tile view
This commit is contained in:
parent
94cdafe79a
commit
eefe826f83
13 changed files with 131 additions and 27 deletions
|
@ -33,6 +33,10 @@ class User < ActiveRecord::Base
|
|||
def can_create_project?
|
||||
projects_limit >= my_own_projects.count
|
||||
end
|
||||
|
||||
def last_activity_project
|
||||
projects.first
|
||||
end
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue