Skip to content

Commit

Permalink
use Rails.root instead of RAILS_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
niku committed Apr 27, 2012
1 parent 335deb0 commit 831c1bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.textile
Expand Up @@ -156,21 +156,21 @@ Then customize the config/configatron files that were generated to your settings
configatron.apn.passphrase # => ''
configatron.apn.port # => 2195
configatron.apn.host # => 'gateway.sandbox.push.apple.com'
configatron.apn.cert #=> File.join(RAILS_ROOT, 'config', 'apple_push_notification_development.pem')
configatron.apn.cert #=> File.join(::Rails.root, 'config', 'apple_push_notification_development.pem')

# production (delivery):
configatron.apn.host # => 'gateway.push.apple.com'
configatron.apn.cert #=> File.join(RAILS_ROOT, 'config', 'apple_push_notification_production.pem')
configatron.apn.cert #=> File.join(::Rails.root, 'config', 'apple_push_notification_production.pem')

# development (feedback):
configatron.apn.feedback.passphrase # => ''
configatron.apn.feedback.port # => 2196
configatron.apn.feedback.host # => 'feedback.sandbox.push.apple.com'
configatron.apn.feedback.cert #=> File.join(RAILS_ROOT, 'config', 'apple_push_notification_development.pem')
configatron.apn.feedback.cert #=> File.join(::Rails.root, 'config', 'apple_push_notification_development.pem')

# production (feedback):
configatron.apn.feedback.host # => 'feedback.push.apple.com'
configatron.apn.feedback.cert #=> File.join(RAILS_ROOT, 'config', 'apple_push_notification_production.pem')
configatron.apn.feedback.cert #=> File.join(::Rails.root, 'config', 'apple_push_notification_production.pem')
</pre></code>

That's it, now you're ready to start creating notifications.
Expand Down

0 comments on commit 831c1bd

Please sign in to comment.