Skip to content
Snippets Groups Projects
Commit c348284f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Reduce count of projects on dashboard to 20

parent ce1b742b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -4,7 +4,7 @@ class DashboardController < ApplicationController
def index
@groups = Group.where(id: current_user.projects.pluck(:group_id))
@projects = current_user.projects_with_events
@projects = @projects.page(params[:page]).per(40)
@projects = @projects.page(params[:page]).per(20)
 
@events = Event.recent_for_user(current_user).limit(20).offset(params[:offset] || 0)
@last_push = current_user.recent_push
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment