mirror of
https://github.com/redmine/redmine.git
synced 2024-07-24 22:24:51 +02:00
fix source indent of app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19932 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4df233e947
commit
616765b5e4
@ -58,9 +58,11 @@ class Mailer < ActionMailer::Base
|
||||
options = {:protocol => Setting.protocol}
|
||||
if Setting.host_name.to_s =~ /\A(https?\:\/\/)?(.+?)(\:(\d+))?(\/.+)?\z/i
|
||||
host, port, prefix = $2, $4, $5
|
||||
options.merge!({
|
||||
:host => host, :port => port, :script_name => prefix
|
||||
})
|
||||
options.merge!(
|
||||
{
|
||||
:host => host, :port => port, :script_name => prefix
|
||||
}
|
||||
)
|
||||
else
|
||||
options[:host] = Setting.host_name
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user