##// END OF EJS Templates
Fixes code comments....
Jean-Philippe Lang -
r2657:fe8f4e5b8794
parent child
Show More
@@ -153,11 +153,11 class Mailer < ActionMailer::Base
153 :message_url => url_for(:controller => 'messages', :action => 'show', :board_id => message.board_id, :id => message.root)
153 :message_url => url_for(:controller => 'messages', :action => 'show', :board_id => message.board_id, :id => message.root)
154 end
154 end
155
155
156 # Builds a tmail object used to email the recipients of a project of the specified wiki content was updated.
156 # Builds a tmail object used to email the recipients of a project of the specified wiki content was added.
157 #
157 #
158 # Example:
158 # Example:
159 # wiki_content_updated(wiki_content) => tmail object
159 # wiki_content_added(wiki_content) => tmail object
160 # Mailer.deliver_wiki_content_updated(wiki_content) => sends an email to the project's recipients
160 # Mailer.deliver_wiki_content_added(wiki_content) => sends an email to the project's recipients
161 def wiki_content_added(wiki_content)
161 def wiki_content_added(wiki_content)
162 redmine_headers 'Project' => wiki_content.project.identifier,
162 redmine_headers 'Project' => wiki_content.project.identifier,
163 'Wiki-Page-Id' => wiki_content.page.id
163 'Wiki-Page-Id' => wiki_content.page.id
General Comments 0
You need to be logged in to leave comments. Login now