Commit 01914554 authored by Shinya Maeda's avatar Shinya Maeda

Remove legacy def status from builds_controller

parent 4fa4a2ce
......@@ -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)
......
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