user dashboard

This commit is contained in:
gitlabhq 2011-10-31 22:57:16 +02:00
parent 267bd6068c
commit 485c5199b7
7 changed files with 73 additions and 4 deletions

View file

@ -1,5 +1,6 @@
class DashboardController < ApplicationController
def index
@projects = current_user.projects.all
@active_projects = @projects.select(&:last_activity_date).sort_by(&:last_activity_date).reverse
end
end