BigW Consortium Gitlab

Commit 1a9630ac by Josh Frye

Fix double paging

parent 9bf85c01
......@@ -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
......
......@@ -13,4 +13,3 @@
= render 'filter'
= render 'projects', projects: @projects
= paginate @projects, theme: "gitlab"
......@@ -8,4 +8,3 @@
= render 'explore/projects/nav'
= render 'projects', projects: @projects
= paginate @projects, theme: 'gitlab' if @projects
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment