diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-23 06:54:29 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-23 06:54:29 +0000 |
commit | 3505339007036d56a256354573f0ac6af371a879 (patch) | |
tree | 9a0bf0204501ea9500f6ed05f908920437d96be8 /app/models/mailer.rb | |
parent | e2a48eaa75c3b7e695f6ba3710e20561f7677e3f (diff) | |
download | redmine-3505339007036d56a256354573f0ac6af371a879.tar.gz redmine-3505339007036d56a256354573f0ac6af371a879.zip |
code layout clean up of wiki_content_updated() at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7464 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/mailer.rb')
-rw-r--r-- | app/models/mailer.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb index d3440e877..152d8bbc5 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -217,8 +217,12 @@ class Mailer < ActionMailer::Base cc(wiki_content.page.wiki.watcher_recipients + wiki_content.page.watcher_recipients - recipients) subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_updated, :id => wiki_content.page.pretty_title)}" body :wiki_content => wiki_content, - :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title), - :wiki_diff_url => url_for(:controller => 'wiki', :action => 'diff', :project_id => wiki_content.project, :id => wiki_content.page.title, :version => wiki_content.version) + :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', + :project_id => wiki_content.project, + :id => wiki_content.page.title), + :wiki_diff_url => url_for(:controller => 'wiki', :action => 'diff', + :project_id => wiki_content.project, :id => wiki_content.page.title, + :version => wiki_content.version) render_multipart('wiki_content_updated', body) end |