##// END OF EJS Templates
remove trailing white-spaces from lib/redmine/notifiable.rb...
Toshi MARUYAMA -
r7297:55eef24dce87
parent child
Show More
@@ -1,26 +1,26
1 1 module Redmine
2 2 class Notifiable < Struct.new(:name, :parent)
3 3
4 4 def to_s
5 5 name
6 6 end
7
7
8 8 # TODO: Plugin API for adding a new notification?
9 9 def self.all
10 10 notifications = []
11 11 notifications << Notifiable.new('issue_added')
12 12 notifications << Notifiable.new('issue_updated')
13 13 notifications << Notifiable.new('issue_note_added', 'issue_updated')
14 14 notifications << Notifiable.new('issue_status_updated', 'issue_updated')
15 15 notifications << Notifiable.new('issue_priority_updated', 'issue_updated')
16 16 notifications << Notifiable.new('news_added')
17 17 notifications << Notifiable.new('news_comment_added')
18 18 notifications << Notifiable.new('document_added')
19 19 notifications << Notifiable.new('file_added')
20 20 notifications << Notifiable.new('message_posted')
21 21 notifications << Notifiable.new('wiki_content_added')
22 22 notifications << Notifiable.new('wiki_content_updated')
23 23 notifications
24 24 end
25 25 end
26 26 end
General Comments 0
You need to be logged in to leave comments. Login now