diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-29 20:06:39 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-29 20:06:39 +0100 |
commit | 23d08c6749eb142b24f22045f643d0591af579ff (patch) | |
tree | b0a9a211e03e77be014ce64659e7674b7419b213 /app/services/follow_service.rb | |
parent | 0e8f59c16fcb21301c736ecbc4424cb4c5388c42 (diff) |
Changing the use of config constants to the Rails configuration object
Diffstat (limited to 'app/services/follow_service.rb')
-rw-r--r-- | app/services/follow_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/follow_service.rb b/app/services/follow_service.rb index b0bfdf4f2..785ae583f 100644 --- a/app/services/follow_service.rb +++ b/app/services/follow_service.rb @@ -9,7 +9,7 @@ class FollowService < BaseService follow = source_account.follow!(target_account) send_interaction_service.(follow.stream_entry, target_account) - source_account.ping!(account_url(account, format: 'atom'), [HUB_URL]) + source_account.ping!(account_url(account, format: 'atom'), [Rails.configuration.x.hub_url]) end private |