Project

General

Profile

mark every user as watcher of a news

Added by Felix Muster almost 9 years ago

Hello,

per default only the author is watcher on the news he created.

/app/models/news.rb:
def add_author_as_watcher
Watcher.create(:watchable => self, :user => author)
end

Which parameter I've to set to mark every user in redmine as watcher?

Thanks.

Felix