]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of app/models/mailer.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 21 Jul 2020 13:41:16 +0000 (13:41 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 21 Jul 2020 13:41:16 +0000 (13:41 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19932 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mailer.rb

index 590199ed81bab37724602be3702157bd17ac4642..33f48e511592e7e71e697de9a390b69eb9956944 100644 (file)
@@ -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