diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-01-29 15:30:04 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-02-03 09:43:54 +0000 |
commit | 184f60a06f828ccbc9264d40e6daa48d60dca629 (patch) | |
tree | 28219b71e56eb01a7e153e5789f229d58ae4cf8a /app/controllers/projects/commit_controller.rb | |
parent | 2c2da2c07b775f1677456376d311560f1e43226f (diff) | |
download | gitlab-ce-184f60a06f828ccbc9264d40e6daa48d60dca629.tar.gz |
Moves pagination to shared folder
Document and remove unused code
Declare components in a consistent way;
Use " instead of ' to improve consistency;
Update documentation;
Fix commit author verification to match the use cases;
Adds tests for the added components
Fix paths in pagination spec
Adds tests to pipelines table used in merge requests and commits
Use same resource interceptor
Fix eslint error
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index b5a7078a3a1..f880a9862c6 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -37,7 +37,6 @@ class Projects::CommitController < Projects::ApplicationController format.json do render json: PipelineSerializer .new(project: @project, user: @current_user) - .with_pagination(request, response) .represent(@pipelines) end end |