lib/apn/railtie.rb in apn_sender-2.0.1 vs lib/apn/railtie.rb in apn_sender-2.0.2
- old
+ new
@@ -5,12 +5,9 @@
APN.root = File.join(Rails.root, "config", "certs")
if Rails.env.development?
APN.certificate_name = "apn_development.pem"
APN.host = "gateway.sandbox.push.apple.com"
end
-
- logger = Logger.new(File.join(Rails.root, 'log', 'apn_sender.log'))
- APN.logger = logger
-
+ APN.logger = Rails.logger
end
end
end