Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-03-06 11:34:38 +0300
committerShinya Maeda <shinya@gitlab.com>2019-03-19 19:19:27 +0300
commitaee119c0cd44edd008f3167258bf45cb94ee5522 (patch)
tree53d2134cfbff85361f4875a1aa8eed075a282657 /app/serializers/merge_request_for_pipeline_entity.rb
parent7fb9dff43dcf56472e22be7a26805ee5fa339e8b (diff)
Update pipeline detail view to accommodate post-merge pipelines
Commit changes Add spec Add changelog fix fix Fix Fix spec Finish spec ok nice ok ok ok fix
Diffstat (limited to 'app/serializers/merge_request_for_pipeline_entity.rb')
-rw-r--r--app/serializers/merge_request_for_pipeline_entity.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/serializers/merge_request_for_pipeline_entity.rb b/app/serializers/merge_request_for_pipeline_entity.rb
index 7779ddfd65a..17a5c4ebbf9 100644
--- a/app/serializers/merge_request_for_pipeline_entity.rb
+++ b/app/serializers/merge_request_for_pipeline_entity.rb
@@ -11,7 +11,7 @@ class MergeRequestForPipelineEntity < Grape::Entity
expose :title
expose :source_branch
- expose :source_branch_path
+ expose :source_branch_commits_path, as: :source_branch_path
expose :target_branch
- expose :target_branch_path
+ expose :target_branch_commits_path, as: :target_branch_path
end