diff --git a/app/views/activity_feeds/_sidebar.html.haml b/app/views/activity_feeds/_sidebar.html.haml index 628a763ac..22680450b 100644 --- a/app/views/activity_feeds/_sidebar.html.haml +++ b/app/views/activity_feeds/_sidebar.html.haml @@ -3,7 +3,7 @@ %h3= t("layout.activity_feed.my_last_projects") %table %tbody - - current_user.projects.each do |project| + - current_user.projects.order('updated_at DESC').limit(5).each do |project| %tr %td - if project.public?