Commit 80b2e18f authored by Douwe Maan's avatar Douwe Maan Committed by Luke "Jared" Bennett

Enable discussions on issues, commits and snippets

parent f6f6aaf5
class DiscussionNote < Note
NOTEABLE_TYPES = %w(MergeRequest).freeze
NOTEABLE_TYPES = %w(MergeRequest Issue Commit Snippet).freeze
validates :noteable_type, inclusion: { in: NOTEABLE_TYPES }
......
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