Files
Redmine/lib/redmine/notifiable.rb
Eric Davis 244e94de80 Refactor the hardcoded event actions (notifiables) to use a class
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-28 20:19:55 +00:00

20 lines
541 B
Ruby

module Redmine
class Notifiable
CoreNotifications = [
'issue_added',
'issue_updated',
'news_added',
'document_added',
'file_added',
'message_posted',
'wiki_content_added',
'wiki_content_updated'
]
# TODO: Plugin API for adding a new notification?
def self.all
CoreNotifications
end
end
end