summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-07-03 10:13:59 +0100
committerPhil Hughes <me@iamphill.com>2018-07-05 15:44:55 +0100
commitc1322ab99272eb082d2181df6d12f5010525812e (patch)
tree3731261a7ae33fcc97d492a61c9ce1adcd103bd1 /lib/api/entities.rb
parent5428e913749b0c3b8f306167f585295434d944d6 (diff)
downloadgitlab-ce-c1322ab99272eb082d2181df6d12f5010525812e.tar.gz
karma & rubocop fixes
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 27b4ee83773..40df1e79bc7 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -533,10 +533,10 @@ module API
class MergeRequestBasic < ProjectEntity
expose :title_html, if: -> (_, options) { options[:render_html] } do |entity|
- MarkupHelper::markdown_field(entity, :title)
+ MarkupHelper.markdown_field(entity, :title)
end
expose :description_html, if: -> (_, options) { options[:render_html] } do |entity|
- MarkupHelper::markdown_field(entity, :description)
+ MarkupHelper.markdown_field(entity, :description)
end
expose :target_branch, :source_branch
expose :upvotes do |merge_request, options|