Skip to content

Commit

Permalink
fixed issue with blog rss variable
Browse files Browse the repository at this point in the history
  • Loading branch information
briri committed Apr 20, 2021
1 parent b82e682 commit 54cb948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/dmptool/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def feed
cached = Rails.cache.read("rss")
return cached unless cached.nil?

resp = HTTParty.get(Rails.configuration.x.application.blog_rss)
resp = HTTParty.get(Rails.configuration.x.dmproadmap.blog_rss)
return [] unless resp.code == 200

rss = RSS::Parser.parse(resp.body, false).items.first(5)
Expand Down

0 comments on commit 54cb948

Please sign in to comment.