summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-17 15:32:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-17 15:32:48 +0000
commitfe8f4e5b8794d9235dca52b226076de74557b67e (patch)
tree279d904e185acfc28deddbacca28c79030363353
parent1d5479c1affa3ac2c0043ded1c2a635d7c1a8cc7 (diff)
downloadredmine-fe8f4e5b8794d9235dca52b226076de74557b67e.tar.gz
redmine-fe8f4e5b8794d9235dca52b226076de74557b67e.zip
Fixes code comments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2756 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/mailer.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index 993d85da6..7619bfd2c 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -153,11 +153,11 @@ class Mailer < ActionMailer::Base
:message_url => url_for(:controller => 'messages', :action => 'show', :board_id => message.board_id, :id => message.root)
end
- # Builds a tmail object used to email the recipients of a project of the specified wiki content was updated.
+ # Builds a tmail object used to email the recipients of a project of the specified wiki content was added.
#
# Example:
- # wiki_content_updated(wiki_content) => tmail object
- # Mailer.deliver_wiki_content_updated(wiki_content) => sends an email to the project's recipients
+ # wiki_content_added(wiki_content) => tmail object
+ # Mailer.deliver_wiki_content_added(wiki_content) => sends an email to the project's recipients
def wiki_content_added(wiki_content)
redmine_headers 'Project' => wiki_content.project.identifier,
'Wiki-Page-Id' => wiki_content.page.id