summaryrefslogtreecommitdiffstats
path: root/app/controllers/news_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-04 14:32:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-04 14:32:58 +0000
commit36009de154e0d7c50d56f21e79e0f812d9d8b5e8 (patch)
tree94534f093b942f97c90e004350b95fe1a6a0afd0 /app/controllers/news_controller.rb
parent8d3773e0e1d0e259a2a193f31515ee910eb88626 (diff)
downloadredmine-36009de154e0d7c50d56f21e79e0f812d9d8b5e8.tar.gz
redmine-36009de154e0d7c50d56f21e79e0f812d9d8b5e8.zip
Adds email notifications support for news comments (#2074).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5003 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/news_controller.rb')
-rw-r--r--app/controllers/news_controller.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/controllers/news_controller.rb b/app/controllers/news_controller.rb
index e7c643e90..bc7eabb58 100644
--- a/app/controllers/news_controller.rb
+++ b/app/controllers/news_controller.rb
@@ -1,5 +1,5 @@
-# redMine - project management software
-# Copyright (C) 2006 Jean-Philippe Lang
+# Redmine - project management software
+# Copyright (C) 2006-2011 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -25,6 +25,8 @@ class NewsController < ApplicationController
before_filter :find_optional_project, :only => :index
accept_key_auth :index
+ helper :watchers
+
def index
case params[:format]
when 'xml', 'json'