diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-23 06:56:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-23 06:56:24 +0000 |
commit | b89bf7eaf1a43ba0041e8be242e01391b6e29a48 (patch) | |
tree | c76e6a74d5456efa542af289efc29e280d00ebca /app | |
parent | 3505339007036d56a256354573f0ac6af371a879 (diff) | |
download | redmine-b89bf7eaf1a43ba0041e8be242e01391b6e29a48.tar.gz redmine-b89bf7eaf1a43ba0041e8be242e01391b6e29a48.zip |
code layout clean up of account_activation_request() at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7465 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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 152d8bbc5..8fcc3fbe0 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -251,7 +251,9 @@ class Mailer < ActionMailer::Base recipients User.active.find(:all, :conditions => {:admin => true}).collect { |u| u.mail }.compact subject l(:mail_subject_account_activation_request, Setting.app_title) body :user => user, - :url => url_for(:controller => 'users', :action => 'index', :status => User::STATUS_REGISTERED, :sort_key => 'created_on', :sort_order => 'desc') + :url => url_for(:controller => 'users', :action => 'index', + :status => User::STATUS_REGISTERED, + :sort_key => 'created_on', :sort_order => 'desc') render_multipart('account_activation_request', body) end |