app/views/posts/index.rss.builder in tb_blog-1.4.1 vs app/views/posts/index.rss.builder in tb_blog-1.4.2
- old
+ new
@@ -1,10 +1,10 @@
-xml.instruct! :xml, :version => "1.0"
-xml.rss :version => "2.0" do
+xml.instruct! :xml, version: '1.0'
+xml.rss version: '2.0' do
xml.channel do
- xml.title "#{Spud::Core.site_name} Blog Articles"
- xml.description "Blog articles for #{Spud::Core.site_name}"
- xml.link posts_path(:format => :rss)
+ xml.title "#{TbCore.site_name} Blog Articles"
+ xml.description "Blog articles for #{TbCore.site_name}"
+ xml.link posts_path(format: :rss)
for article in @posts
xml.item do
xml.title article.title
xml.description strip_tags(article.content_processed).truncate(250)