Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
3d7ace47
Commit
3d7ace47
authored
Feb 02, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary queries for .atom and .json in Dashboard::ProjectsController#index
parent
4b160ab5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
app/controllers/dashboard/projects_controller.rb
app/controllers/dashboard/projects_controller.rb
+1
-3
changelogs/unreleased/27267-unnecessary-queries-from-projects-dashboard-atom-and-json.yml
...cessary-queries-from-projects-dashboard-atom-and-json.yml
+4
-0
No files found.
app/controllers/dashboard/projects_controller.rb
View file @
3d7ace47
...
@@ -10,10 +10,8 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
...
@@ -10,10 +10,8 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
@projects
=
@projects
.
sort
(
@sort
=
params
[
:sort
])
@projects
=
@projects
.
sort
(
@sort
=
params
[
:sort
])
@projects
=
@projects
.
page
(
params
[
:page
])
@projects
=
@projects
.
page
(
params
[
:page
])
@last_push
=
current_user
.
recent_push
respond_to
do
|
format
|
respond_to
do
|
format
|
format
.
html
format
.
html
{
@last_push
=
current_user
.
recent_push
}
format
.
atom
do
format
.
atom
do
event_filter
event_filter
load_events
load_events
...
...
changelogs/unreleased/27267-unnecessary-queries-from-projects-dashboard-atom-and-json.yml
0 → 100644
View file @
3d7ace47
---
title
:
Remove unnecessary queries for .atom and .json in Dashboard::ProjectsController#index
merge_request
:
8956
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment