]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of wiki_content_added() at app/models/mailer.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 23 Sep 2011 06:53:57 +0000 (06:53 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 23 Sep 2011 06:53:57 +0000 (06:53 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7463 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mailer.rb

index e77d9fd4fba517444a537cad565ebe84f5715d52..d3440e8778245799dc19f95977c571c8f0211401 100644 (file)
@@ -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