Changing the use of config constants to the Rails configuration object

This commit is contained in:
Eugen Rochko
2016-02-29 20:06:39 +01:00
parent 0e8f59c16f
commit 23d08c6749
11 changed files with 17 additions and 17 deletions

View File

@ -12,7 +12,7 @@ Nokogiri::XML::Builder.new do |xml|
link_alternate xml, url_for_target(@account)
link_self xml, account_url(@account, format: 'atom')
link_hub xml, HUB_URL
link_hub xml, Rails.configuration.x.hub_url
link_salmon xml, api_salmon_url(@account.id)
@account.stream_entries.order('id desc').each do |stream_entry|