diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-27 06:08:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-27 06:08:03 +0300 |
commit | c258498bd253e0dbb038d51f237cee1ebf0d0f56 (patch) | |
tree | 2fafd83d60bf1b104b2bd39b199c79ddf91564a7 /app/serializers | |
parent | 17f6b320a11fc5bc1261994a7a93b34096e365e3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/merge_request_widget_entity.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/serializers/merge_request_widget_entity.rb b/app/serializers/merge_request_widget_entity.rb index 5bf91ed0a51..cf984207ad1 100644 --- a/app/serializers/merge_request_widget_entity.rb +++ b/app/serializers/merge_request_widget_entity.rb @@ -128,20 +128,6 @@ class MergeRequestWidgetEntity < Grape::Entity end end - expose :codeclimate, if: -> (mr, _) { head_pipeline_downloadable_path_for_report_type(:codequality) } do - expose :head_path do |merge_request| - head_pipeline_downloadable_path_for_report_type(:codequality) - end - - expose :base_path do |merge_request| - if use_merge_base_with_merged_results? - merge_base_pipeline_downloadable_path_for_report_type(:codequality) - else - base_pipeline_downloadable_path_for_report_type(:codequality) - end - end - end - expose :security_reports_docs_path do |merge_request| help_page_path('user/application_security/index.md', anchor: 'view-security-scan-information-in-merge-requests') end |