Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
01914554
Commit
01914554
authored
Mar 06, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove legacy def status from builds_controller
parent
4fa4a2ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
app/controllers/projects/builds_controller.rb
app/controllers/projects/builds_controller.rb
+0
-3
No files found.
app/controllers/projects/builds_controller.rb
View file @
01914554
...
@@ -73,9 +73,6 @@ class Projects::BuildsController < Projects::ApplicationController
...
@@ -73,9 +73,6 @@ class Projects::BuildsController < Projects::ApplicationController
redirect_to
build_path
(
@build
)
redirect_to
build_path
(
@build
)
end
end
# def status
# render json: @build.to_json(only: [:status, :id, :sha, :coverage], methods: :sha)
# end
def
status
def
status
render
json:
BuildSerializer
render
json:
BuildSerializer
.
new
(
project:
@project
,
user:
@current_user
)
.
new
(
project:
@project
,
user:
@current_user
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment