Project

General

Profile

Actions

Feature #21727

closed

mark every user as watcher of a news

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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

Actions #1

Updated by Jan Niggemann (redmine.org team member) almost 9 years ago

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

Please ask questions on the forums. Thank you.

Actions #2

Updated by Felix Muster almost 9 years ago

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

Actions

Also available in: Atom PDF