diff options
Diffstat (limited to 'app/serializers/merge_request_entity.rb')
-rw-r--r-- | app/serializers/merge_request_entity.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/serializers/merge_request_entity.rb b/app/serializers/merge_request_entity.rb index fb6709699a7..7f17f2bf604 100644 --- a/app/serializers/merge_request_entity.rb +++ b/app/serializers/merge_request_entity.rb @@ -93,6 +93,10 @@ class MergeRequestEntity < IssuableEntity # Paths # + expose :target_branch_commits_path do |merge_request| + presenter(merge_request).target_branch_commits_path + end + expose :target_branch_tree_path do |merge_request| presenter(merge_request).target_branch_tree_path end |