summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-09-19 15:32:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-09-19 15:32:52 +0000
commit16e09bfd774487d7b21e1b939f9b0321ad3a850a (patch)
treef1952dff78c37929699621a06a1de69adf3fda2c /app/controllers
parent9e7bce6a94626b4f96133bddc508192f2dfaff4f (diff)
downloadredmine-16e09bfd774487d7b21e1b939f9b0321ad3a850a.tar.gz
redmine-16e09bfd774487d7b21e1b939f9b0321ad3a850a.zip
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
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/messages_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb
index 554279d21..79b4b616a 100644
--- a/app/controllers/messages_controller.rb
+++ b/app/controllers/messages_controller.rb
@@ -24,7 +24,7 @@ class MessagesController < ApplicationController
verify :method => :post, :only => [ :reply, :destroy ], :redirect_to => { :action => :show }
verify :xhr => true, :only => :quote
-
+ helper :watchers
helper :attachments
include AttachmentsHelper