Commit 727561f4 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Use diff_discussion? instead of is_a?(DiffDiscussion)

parent e60869e2
...@@ -109,7 +109,7 @@ module NotesActions ...@@ -109,7 +109,7 @@ module NotesActions
discussion_html: discussion_html(discussion) discussion_html: discussion_html(discussion)
) )
attrs[:discussion_line_code] = discussion.line_code if discussion.is_a?(DiffDiscussion) attrs[:discussion_line_code] = discussion.line_code if discussion.diff_discussion?
end end
end end
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment