summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-20 14:10:45 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-20 14:10:45 -0800
commitdc9916b474f68a23781df15bee5e814da687ab26 (patch)
tree04ea3b25155342394e7310fc2b302b353577c523 /app/controllers/dashboard_controller.rb
parent68b119f62f572048a9ec967d6e3280c0483f2753 (diff)
parent31bf0cd8763b01ec028f8cd5eeaee43c745ad7c6 (diff)
downloadgitlab-ce-dc9916b474f68a23781df15bee5e814da687ab26.tar.gz
Merge pull request #1998 from erroric/gitlabhq_issue1669
fix for issue #1669
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r--app/controllers/dashboard_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb
index 012d86764ab..8d9329f2b32 100644
--- a/app/controllers/dashboard_controller.rb
+++ b/app/controllers/dashboard_controller.rb
@@ -5,7 +5,7 @@ class DashboardController < ApplicationController
def index
@groups = Group.where(id: current_user.projects.pluck(:group_id))
- @projects = current_user.projects_with_events
+ @projects = current_user.projects_sorted_by_activity
@projects = @projects.page(params[:page]).per(30)
@events = Event.in_projects(current_user.project_ids)