app/views/monologue/posts/feed.rss.builder in monologue-0.3.0 vs app/views/monologue/posts/feed.rss.builder in monologue-0.4.0
- old
+ new
@@ -1,18 +1,18 @@
xml.instruct! :xml, version: "1.0"
xml.rss version: "2.0" do
xml.channel do
- xml.title Monologue.site_name
- xml.description Monologue.meta_description
+ xml.title Monologue::Config.site_name
+ xml.description Monologue::Config.meta_description
xml.link root_url
for post in @posts
xml.item do
xml.title post.title
xml.description raw(post.content)
xml.pubDate post.published_at.to_s(:rfc822)
- xml.link Monologue.site_url + post.full_url
- xml.guid Monologue.site_url + post.full_url
+ xml.link Monologue::Config.site_url + post.full_url
+ xml.guid Monologue::Config.site_url + post.full_url
end
end
end
end
\ No newline at end of file