diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-03-16 03:58:55 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-05 19:44:14 +0300 |
commit | 80b2e18fb62b8da7410f90b3e5340b9e63e765a3 (patch) | |
tree | 2fd5f480297d99ed2f93b83dfaa51a2cf48573fb /app | |
parent | f6f6aaf593dc40c79b8e3536f5e2821c96b9dcd3 (diff) |
Enable discussions on issues, commits and snippets
Diffstat (limited to 'app')
-rw-r--r-- | app/models/discussion_note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/discussion_note.rb b/app/models/discussion_note.rb index fc168ae74a9..510aefbf609 100644 --- a/app/models/discussion_note.rb +++ b/app/models/discussion_note.rb @@ -1,5 +1,5 @@ class DiscussionNote < Note - NOTEABLE_TYPES = %w(MergeRequest).freeze + NOTEABLE_TYPES = %w(MergeRequest Issue Commit Snippet).freeze validates :noteable_type, inclusion: { in: NOTEABLE_TYPES } |