diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 16:44:29 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 16:44:29 +0000 |
commit | 3bd37fef40766c06960a45f0550ca99e2cf8bd3c (patch) | |
tree | 16ffd578befee569f69c702d7bbb10aa27e33105 | |
parent | bd63d3bc7163edd70c98056768b10c037a4041da (diff) | |
download | redmine-3bd37fef40766c06960a45f0550ca99e2cf8bd3c.tar.gz redmine-3bd37fef40766c06960a45f0550ca99e2cf8bd3c.zip |
cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19268 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb index cb2c9f39e..8253bccf1 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -487,7 +487,7 @@ class Mailer < ActionMailer::Base def self.deliver_security_notification(users, sender, options={}) # Symbols cannot be serialized: # ActiveJob::SerializationError: Unsupported argument type: Symbol - options = options.transform_values {|v| v.is_a?(Symbol) ? v.to_s : v } + options = options.transform_values {|v| v.is_a?(Symbol) ? v.to_s : v} # sender's remote_ip would be lost on serialization/deserialization # we have to pass it with options options[:remote_ip] ||= sender.remote_ip |