summaryrefslogtreecommitdiffstats
path: root/app/controllers/settings_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-17 09:55:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-17 09:55:13 +0000
commit9c9dc6e8147a3e0bf3239511c094dc5f9d2a59a0 (patch)
treefb2dc8222bc9a9296d127115f600198d0486c879 /app/controllers/settings_controller.rb
parent6e0a818cafadfc48d74845ebedb933f4ecf2aa53 (diff)
downloadredmine-9c9dc6e8147a3e0bf3239511c094dc5f9d2a59a0.tar.gz
redmine-9c9dc6e8147a3e0bf3239511c094dc5f9d2a59a0.zip
Adds email notification on wiki changes (#413). It's disabled by default and can be enabled in application settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2749 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/settings_controller.rb')
-rw-r--r--app/controllers/settings_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb
index 7d99a7266..c1d94850f 100644
--- a/app/controllers/settings_controller.rb
+++ b/app/controllers/settings_controller.rb
@@ -24,7 +24,7 @@ class SettingsController < ApplicationController
end
def edit
- @notifiables = %w(issue_added issue_updated news_added document_added file_added message_posted)
+ @notifiables = %w(issue_added issue_updated news_added document_added file_added message_posted wiki_content_added wiki_content_updated)
if request.post? && params[:settings] && params[:settings].is_a?(Hash)
settings = (params[:settings] || {}).dup.symbolize_keys
settings.each do |name, value|