Skip to content
Snippets Groups Projects
Commit e73a6c16 authored by Douwe Maan's avatar Douwe Maan
Browse files

Don't paginate builds widget on build page.

parent 530df9b5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -28,7 +28,7 @@ class Projects::BuildsController < Projects::ApplicationController
 
def show
@builds = @ci_project.commits.find_by_sha(@build.sha).builds.order('id DESC')
@builds = @builds.where("id not in (?)", @build.id).page(params[:page]).per(20)
@builds = @builds.where("id not in (?)", @build.id)
@commit = @build.commit
 
respond_to do |format|
Loading
Loading
Loading
Loading
@@ -174,8 +174,5 @@
%td.status= build.status
 
 
= paginate @builds
:javascript
new CiBuild("#{namespace_project_build_path(@project.namespace, @project, @build)}", "#{@build.status}")
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