project tile view

This commit is contained in:
gitlabhq 2011-10-11 23:00:00 +03:00
parent 94cdafe79a
commit eefe826f83
13 changed files with 131 additions and 27 deletions

View file

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