summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2018-07-04 12:36:14 -0300
committerFelipe Artur <felipefac@gmail.com>2018-07-04 12:36:14 -0300
commit590ffa957ff79168a844ab56ea4070d7b21f5422 (patch)
treeedd7059aa59f822a362102d7694653a6f69ac914
parent6d41df507143f87e33f335bc8c405a006a7f8a8d (diff)
parent416cdf6c68881c1c2de23cc5641eee46ee168888 (diff)
downloadgitlab-ce-590ffa957ff79168a844ab56ea4070d7b21f5422.tar.gz
Merge branch 'issue_48474' of gitlab.com:gitlab-org/gitlab-ce into issue_48474
-rw-r--r--app/serializers/discussion_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/discussion_entity.rb b/app/serializers/discussion_entity.rb
index 08e816b13f9..8a39a4950f5 100644
--- a/app/serializers/discussion_entity.rb
+++ b/app/serializers/discussion_entity.rb
@@ -3,7 +3,7 @@ class DiscussionEntity < Grape::Entity
include NotesHelper
expose :id, :reply_id
- expose :position, if: -> (d, _) { d.diff_discussion? && !d.legacy_diff_discussion?}
+ expose :position, if: -> (d, _) { d.diff_discussion? && !d.legacy_diff_discussion? }
expose :line_code, if: -> (d, _) { d.diff_discussion? }
expose :expanded?, as: :expanded
expose :active?, as: :active, if: -> (d, _) { d.diff_discussion? }