From 54cb9484de8df627a28191c63427503948a94e40 Mon Sep 17 00:00:00 2001 From: briri Date: Tue, 20 Apr 2021 15:50:05 -0700 Subject: [PATCH] fixed issue with blog rss variable --- app/controllers/dmptool/home_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/dmptool/home_controller.rb b/app/controllers/dmptool/home_controller.rb index 5793863b61..592045e73d 100644 --- a/app/controllers/dmptool/home_controller.rb +++ b/app/controllers/dmptool/home_controller.rb @@ -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)