##// END OF EJS Templates
code layout clean up of wiki_content_added() at app/models/mailer.rb...
Toshi MARUYAMA -
r7343:e2a48eaa75c3
parent child
Show More
@@ -198,7 +198,9 class Mailer < ActionMailer::Base
198 cc(wiki_content.page.wiki.watcher_recipients - recipients)
198 cc(wiki_content.page.wiki.watcher_recipients - recipients)
199 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_added, :id => wiki_content.page.pretty_title)}"
199 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_added, :id => wiki_content.page.pretty_title)}"
200 body :wiki_content => wiki_content,
200 body :wiki_content => wiki_content,
201 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title)
201 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show',
202 :project_id => wiki_content.project,
203 :id => wiki_content.page.title)
202 render_multipart('wiki_content_added', body)
204 render_multipart('wiki_content_added', body)
203 end
205 end
204
206
General Comments 0
You need to be logged in to leave comments. Login now