From fe8f4e5b8794d9235dca52b226076de74557b67e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 17 May 2009 15:32:48 +0000 Subject: [PATCH] Fixes code comments. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2756 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mailer.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 993d85da..7619bfd2 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