Skip to content
Snippets Groups Projects
Commit 1a9630ac authored by Josh Frye's avatar Josh Frye
Browse files

Fix double paging

parent 9bf85c01
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -50,7 +50,7 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
 
format.json do
render json: {
html: view_to_html_string("dashboard/projects/projects", locals: { projects: @projects })
html: view_to_html_string("dashboard/projects/_projects", locals: { projects: @projects })
}
end
end
Loading
Loading
Loading
Loading
@@ -13,4 +13,3 @@
= render 'filter'
 
= render 'projects', projects: @projects
= paginate @projects, theme: "gitlab"
Loading
Loading
@@ -8,4 +8,3 @@
 
= render 'explore/projects/nav'
= render 'projects', projects: @projects
= paginate @projects, theme: 'gitlab' if @projects
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