Skip to content
Snippets Groups Projects
Commit 01914554 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Remove legacy def status from builds_controller

parent 4fa4a2ce
Branches
Tags
1 merge request!9561Expose CI/CD status API endpoints with Gitlab::Ci::Status facility on pipeline, job and merge request for favicon
Loading
Loading
@@ -73,9 +73,6 @@ class Projects::BuildsController < Projects::ApplicationController
redirect_to build_path(@build)
end
 
# def status
# render json: @build.to_json(only: [:status, :id, :sha, :coverage], methods: :sha)
# end
def status
render json: BuildSerializer
.new(project: @project, user: @current_user)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment