Merge branch '27267-unnecessary-queries-from-projects-dashboard-atom-and-json' into 'master'
Remove unnecessary queries for .atom and .json in Dashboard::ProjectsController#index Closes #27267 See merge request !8956
This commit is contained in:
commit
bd8f2b15b3
|
@ -10,10 +10,8 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
|
|||
@projects = @projects.sort(@sort = params[:sort])
|
||||
@projects = @projects.page(params[:page])
|
||||
|
||||
@last_push = current_user.recent_push
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.html { @last_push = current_user.recent_push }
|
||||
format.atom do
|
||||
event_filter
|
||||
load_events
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Remove unnecessary queries for .atom and .json in Dashboard::ProjectsController#index
|
||||
merge_request: 8956
|
||||
author:
|
Loading…
Reference in New Issue