summaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-03-06 15:34:38 +0700
committerShinya Maeda <shinya@gitlab.com>2019-03-19 23:19:27 +0700
commitaee119c0cd44edd008f3167258bf45cb94ee5522 (patch)
tree53d2134cfbff85361f4875a1aa8eed075a282657 /app/serializers
parent7fb9dff43dcf56472e22be7a26805ee5fa339e8b (diff)
downloadgitlab-ce-aee119c0cd44edd008f3167258bf45cb94ee5522.tar.gz
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')
-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