Feature #21727

mark every user as watcher of a news

Added by Felix Muster almost 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Invalid

Description

Hello,

Per default only the author is watcher of 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

History

#1 Updated by Jan Niggemann (redmine.org team member) almost 2 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Please ask questions on the forums. Thank you.

#2 Updated by Felix Muster almost 2 years ago

Oh sorry.
I didn't know....

Also available in: Atom PDF