Sha256: 2f34396800452f30cdf0753c5ce8ea06ce335af0794221cc74a73b78ae4d7ac0
Contents?: true
Size: 677 Bytes
Versions: 8
Compression:
Stored size: 677 Bytes
Contents
xml.channel do xml.atom :link, nil, { :href => forum_topic_url(@topic.forum, @topic, :format => 'rss'), :rel => 'self', :type => 'application/rss+xml' } xml.title "#{@site_title} : #{@topic.name}" xml.description "#{@posts.length} #{t('posts')}, #{t('most_recently')} #{t('from_reader', :name => @posts.last.reader.name)} #{t('on_date', :date => friendly_date(@posts.last.created_at))}" xml.link forum_topic_url(@topic.forum, @topic) xml.language I18n.locale.to_s xml.ttl "60" render :partial => "posts/post", :object => @topic.posts.first, :locals => {:xm => xml} render :partial => "posts/post", :collection => @posts, :locals => {:xm => xml} end
Version data entries
8 entries across 8 versions & 1 rubygems