##// END OF EJS Templates
code layout clean up of wiki_content_updated() at app/models/mailer.rb...
Toshi MARUYAMA -
r7344:350533900703
parent child
Show More
@@ -217,8 +217,12 class Mailer < ActionMailer::Base
217 217 cc(wiki_content.page.wiki.watcher_recipients + wiki_content.page.watcher_recipients - recipients)
218 218 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_updated, :id => wiki_content.page.pretty_title)}"
219 219 body :wiki_content => wiki_content,
220 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title),
221 :wiki_diff_url => url_for(:controller => 'wiki', :action => 'diff', :project_id => wiki_content.project, :id => wiki_content.page.title, :version => wiki_content.version)
220 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show',
221 :project_id => wiki_content.project,
222 :id => wiki_content.page.title),
223 :wiki_diff_url => url_for(:controller => 'wiki', :action => 'diff',
224 :project_id => wiki_content.project, :id => wiki_content.page.title,
225 :version => wiki_content.version)
222 226 render_multipart('wiki_content_updated', body)
223 227 end
224 228
General Comments 0
You need to be logged in to leave comments. Login now