Sha256: f38ecaf27667f81469a527121831b0f23a0dfc6b77653f0767a53e221d0d92e1
Contents?: true
Size: 559 Bytes
Versions: 30
Compression:
Stored size: 559 Bytes
Contents
atom_feed(:url => questions_url(:format => :atom)) do |feed| if @user feed.title t('question.user_question', :login_name => @user.username) else feed.title t('question.library_group_question', :library_group_name => @library_group.display_name.localize) end feed.updated(@questions.first ? @questions.first.created_at : Time.zone.now) @questions.each do |question| feed.entry(question) do |entry| entry.title(truncate(question.body)) entry.author(question.user.username) entry.content(question.body) end end end
Version data entries
30 entries across 30 versions & 1 rubygems