Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-03-16 03:58:55 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-05 19:44:14 +0300
commit80b2e18fb62b8da7410f90b3e5340b9e63e765a3 (patch)
tree2fd5f480297d99ed2f93b83dfaa51a2cf48573fb /app/models/discussion_note.rb
parentf6f6aaf593dc40c79b8e3536f5e2821c96b9dcd3 (diff)
Enable discussions on issues, commits and snippets
Diffstat (limited to 'app/models/discussion_note.rb')
-rw-r--r--app/models/discussion_note.rb2
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 }