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/process_feed_service.rb | |
parent | 0e8f59c16fcb21301c736ecbc4424cb4c5388c42 (diff) |
Changing the use of config constants to the Rails configuration object
Diffstat (limited to 'app/services/process_feed_service.rb')
-rw-r--r-- | app/services/process_feed_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index f6584bbda..7d8563a58 100644 --- a/app/services/process_feed_service.rb +++ b/app/services/process_feed_service.rb @@ -38,7 +38,7 @@ class ProcessFeedService < BaseService href = Addressable::URI.parse(mention_link.attribute('href').value) - if href.host == LOCAL_DOMAIN + if href.host == Rails.configuration.x.local_domain mentioned_account = Account.find_by(username: href.path.gsub('/users/', ''), domain: nil) unless mentioned_account.nil? |