diff options
author | Drew Blessing <drew@gitlab.com> | 2015-09-15 15:33:44 -0500 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2015-10-01 15:17:32 -0500 |
commit | 788a3f9b94f5500bbbe3f3c4955c6c41196a736e (patch) | |
tree | 7cb4077600e1be8cab6145ccae5de3334e299193 /app/controllers/dashboard/projects_controller.rb | |
parent | 529cf138a18b33aea35aab5a7b72f705df5e2982 (diff) | |
download | gitlab-ce-788a3f9b94f5500bbbe3f3c4955c6c41196a736e.tar.gz |
Add last push widget to starred projects dashboard
Diffstat (limited to 'app/controllers/dashboard/projects_controller.rb')
-rw-r--r-- | app/controllers/dashboard/projects_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/dashboard/projects_controller.rb b/app/controllers/dashboard/projects_controller.rb index 467d0f81aca..58e9049f158 100644 --- a/app/controllers/dashboard/projects_controller.rb +++ b/app/controllers/dashboard/projects_controller.rb @@ -20,6 +20,7 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController @projects = current_user.starred_projects @projects = @projects.includes(:namespace, :forked_from_project, :tags) @projects = @projects.sort(@sort = params[:sort]) + @last_push = current_user.recent_push @groups = [] respond_to do |format| |