Fixes code comments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2756 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1d5479c1af
commit
fe8f4e5b87
|
@ -153,11 +153,11 @@ class Mailer < ActionMailer::Base
|
||||||
:message_url => url_for(:controller => 'messages', :action => 'show', :board_id => message.board_id, :id => message.root)
|
:message_url => url_for(:controller => 'messages', :action => 'show', :board_id => message.board_id, :id => message.root)
|
||||||
end
|
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:
|
# Example:
|
||||||
# wiki_content_updated(wiki_content) => tmail object
|
# wiki_content_added(wiki_content) => tmail object
|
||||||
# Mailer.deliver_wiki_content_updated(wiki_content) => sends an email to the project's recipients
|
# Mailer.deliver_wiki_content_added(wiki_content) => sends an email to the project's recipients
|
||||||
def wiki_content_added(wiki_content)
|
def wiki_content_added(wiki_content)
|
||||||
redmine_headers 'Project' => wiki_content.project.identifier,
|
redmine_headers 'Project' => wiki_content.project.identifier,
|
||||||
'Wiki-Page-Id' => wiki_content.page.id
|
'Wiki-Page-Id' => wiki_content.page.id
|
||||||
|
|
Loading…
Reference in New Issue