Changing the use of config constants to the Rails configuration object
This commit is contained in:
parent
0e8f59c16f
commit
23d08c6749
11 changed files with 17 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue