diff options
author | gitlabhq <m@gitlabhq.com> | 2011-10-31 22:57:16 +0200 |
---|---|---|
committer | gitlabhq <m@gitlabhq.com> | 2011-10-31 22:57:16 +0200 |
commit | 485c5199b7ea01b85bdacb15a41bcfb18451597c (patch) | |
tree | e1a7a2915f77140f6e2e3765574e376622f7e0c2 /app/controllers/dashboard_controller.rb | |
parent | 267bd6068c7a57316ef357f9385e12fea6c8d69f (diff) | |
download | gitlab-ce-485c5199b7ea01b85bdacb15a41bcfb18451597c.tar.gz |
user dashboard
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r-- | app/controllers/dashboard_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 2476b17ef90..1c50c66e5f6 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -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 |