diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-23 06:53:57 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-23 06:53:57 +0000 |
commit | e2a48eaa75c3b7e695f6ba3710e20561f7677e3f (patch) | |
tree | a9f2deb065e05663e5fc25c8c43e3abeee7738db /app/models | |
parent | 8af3c5a7db516b9b16df3888d556d29fb38d8061 (diff) | |
download | redmine-e2a48eaa75c3b7e695f6ba3710e20561f7677e3f.tar.gz redmine-e2a48eaa75c3b7e695f6ba3710e20561f7677e3f.zip |
code layout clean up of wiki_content_added() at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7463 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/mailer.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb index e77d9fd4f..d3440e877 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -198,7 +198,9 @@ class Mailer < ActionMailer::Base cc(wiki_content.page.wiki.watcher_recipients - recipients) subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_added, :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_content_url => url_for(:controller => 'wiki', :action => 'show', + :project_id => wiki_content.project, + :id => wiki_content.page.title) render_multipart('wiki_content_added', body) end |