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
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue