]> source.dussan.org Git - redmine.git/commit
Adds watch/unwatch functionality at forum topic level (#1912).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 19 Sep 2008 15:32:52 +0000 (15:32 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 19 Sep 2008 15:32:52 +0000 (15:32 +0000)
commit16e09bfd774487d7b21e1b939f9b0321ad3a850a
treef1952dff78c37929699621a06a1de69adf3fda2c
parent9e7bce6a94626b4f96133bddc508192f2dfaff4f
Adds watch/unwatch functionality at forum topic level (#1912).
Users who create/reply a topic are automatically added as watchers but are now able to unwatch the topic.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1878 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/messages_controller.rb
app/models/message.rb
app/models/message_observer.rb
app/views/messages/show.rhtml
db/migrate/098_set_topic_authors_as_watchers.rb [new file with mode: 0644]
test/fixtures/watchers.yml
test/unit/message_test.rb