summaryrefslogtreecommitdiff
path: root/app/models/note.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 08:20:58 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 08:20:58 -0700
commit20ed39e781fc49bd4ec6e04e862ebd4ece53a15b (patch)
tree43c794093165a85a726b177207337db980a5af5a /app/models/note.rb
parenta324960d92d4c2436064329137857686d90100b5 (diff)
parentcf35d19c2ef6afd04b7339e5425f2f4a015e6acf (diff)
downloadgitlab-ce-20ed39e781fc49bd4ec6e04e862ebd4ece53a15b.tar.gz
Merge pull request #3898 from jacargentina/notifymentioned
Notify email to mentioned users; show participants ala github on issuables
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 9a3481faaaa..56a8749e47d 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -19,6 +19,8 @@ require 'carrierwave/orm/activerecord'
require 'file_size_validator'
class Note < ActiveRecord::Base
+ include Mentionable
+
attr_accessible :note, :noteable, :noteable_id, :noteable_type, :project_id,
:attachment, :line_code, :commit_id