@@ -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 |
|
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_ |
|
159 | # wiki_content_added(wiki_content) => tmail object | |
160 |
# Mailer.deliver_wiki_content_ |
|
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